Skip to content

Hasinichaithanya/user-management-system

Repository files navigation

It is a user management backend system, where I implemented all the CRUD operations.

Technologies used:

Mongodb, Express, Node

Unit testing:

Chai And Mocha

API Documentation:

Swagger

Download the zip file of the repo into your system (cloning the repo), extract the ZIP file, and open the code in the code editor(preferably VS code).

Open the terminal and run the following commands in the terminal:

cd user-management-system-main

npm install (It will install all the necessary dependencies)

Split the terminal as shown below and run the below commands as shown:

ScreenShot

In one of the terminals first start the server using the below command:

node index.cjs (It will start the server)

Make sure to have a good internet connection otherwise you may get a timeout error.

After the server is started, now in the second terminal, run the test cases using the below command:

npm test (It will run the test file)

You can see the swagger UI at http://localhost:5000/api-docs when the server is running.

swagger-ui

You can test the APIS there itself.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published