/notes-backend

Back end for notes web app.

Primary LanguageJavaScriptMIT LicenseMIT

notes-backend

Back end for notes web app.

Follow the steps to get started:

  • First, make sure you have node and nodemon installed!

    Check if node is installed by running the following command in your terminal:

    node -v
    

    If node is not installed, click here to install node.

    To install nodemon:

    npm install -g nodemon
    
  • Clone this repository by running the following command:

    git clone https://github.com/siddheshkothadi/notes-backend
    

    To move inside the cloned repository:

    cd notes-backend
    
  • Paste ATLAS_URI, ATLAS_TEST_URI, CLIENT_ID, CLIENT_SECRET, COOKIE_KEY inside .env file.

  • Run the folowing command to install the dependencies

    npm install
    

    OR

    yarn
    
  • Finally, run the server:

    npm run dev
    

    Open the following link on your browser to run the server(default port is 5000):

    http://localhost:5000/
    
  • Test GET, POST, PUT, DELETE requests using Postman.