Project Logo

Getting Started

📍 Before moving forward, please note that this repo is only for the back-end of the project, you can visit the front-end here.

Prerequisites

To run this project on your local machine make sure you have the latest package manager installed:

  npm install npm@latest -g

Installation

  1. clone the repo:
   git clone https://github.com/Abderraouf-Rahmani/1001devs-api.git
  1. Install NPM packages
npm install
  1. 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
  
  1. Run the development server
npm run dev
# or
yarn dev

Open http://localhost:3030 with your browser to see the result.

Contact

Feel free to connect with me on Linkedin

Acknowledgments

This project made possible because a tutorial I watched on a youtube channel called LamaDev, I just gave the front-end a better styling.