📍 Before moving forward, please note that this repo is only for the back-end of the project, you can visit the front-end here.
To run this project on your local machine make sure you have the latest package manager installed:
npm install npm@latest -g
- clone the repo:
git clone https://github.com/Abderraouf-Rahmani/1001devs-api.git
- Install NPM packages
npm install
- Create an .env file
This project have two envirment variables
- create a MongoDB account, then go to Database > connect your application > copy your connection string and past it in respect to MONGO_URL variable in your .env file.
- copy and past the seconde variable as it is.
MONGO_URL = <your connection string>
PORT = 3030
- Run the development server
npm run dev
# or
yarn dev
Open http://localhost:3030 with your browser to see the result.
Feel free to connect with me on Linkedin
This project made possible because a tutorial I watched on a youtube channel called LamaDev, I just gave the front-end a better styling.