Skip to content

Aman-Atar-002/PDF_Annotator_server

Repository files navigation

Live Demo Link: https://pdf-annotator-client-one.vercel.app

Guide / Setup instructions for Setting up PDF Annotator Server Side:

  1. After your client repo is setup now its time to copy the server repo, again go to base folder and now in your vs code terminal run this command: https://github.com/Aman-Atar-002/PDF_Annotator_server.git

  2. Open the folder in which the server repo is cloned and run the following command: “npm i” (this is will install all the necessary node modules)

  3. Then create a .env file in your root folder of client (and enter the following env data: CONNECTION_URL="http://localhost:3000" MONGODB_URI = "Your_Mongo_DB_URI" port = 8000

  4. Now run your server using following command: “npm run dev”, this will initialize the serve on port 8000

  5. Now open Postman and make a post request to this endpoint: http://localhost:8000/users/create_user (No headers or body require), this will seed the users in the DB

  6. Now you can start with your server activiy or setup up the client repo from here: https://github.com/Aman-Atar-002/Pdf_Annotator_Client.git

Releases

No releases published

Packages

No packages published