User Registration, User List and Detail page.
Explore the docs »
Report Bug
Table of Contents
Simple Node.JS project where a user can register and able to view the registered users.
Here's why:
- Project that demonstrates the implementation of user registration
- List all the users which are saved in database
- Detail page where we list all the saved details of the user.
The project is built using Node.js, Express.js Framework, Mongodb.
Follow the below instructions for setting up the project locally.
- Clone the repo
git clone https://github.com/libinthomas33/User-form.git
- cd User-form
- Install NPM packages
npm install
- Create .env file and fill the DB credentials.
MONGO_HOST='ENTER YOUR MONGO HOST URL' MONGO_PORT='ENTER YOUR MONGO PORT' MONGO_DBNAME='ENTER YOUR MONGO DATABASE NAME' DEBUG_MODE=true
- NB: DEBUG_MODE value should be changed to false, while going production or Testing API's using Jest
- Install NPM packages
npm start
- For Testing API's, follow the below steps:-
Add the below script to the package.json file
npm install --save-dev jest npm install --save-dev supertest"scripts": { "test": "jest" }
npm run test
See the open issues for a list of proposed features (and known issues).