Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/shubhamagarwal16/nodeapistarter
node API starter kit including "login/registration" with mongodB as database including the full structure with project helpers and routing
https://github.com/shubhamagarwal16/nodeapistarter
apis development expressjs login-registration-app mongodb nodejs
Last synced: about 2 months ago
JSON representation
node API starter kit including "login/registration" with mongodB as database including the full structure with project helpers and routing
- Host: GitHub
- URL: https://github.com/shubhamagarwal16/nodeapistarter
- Owner: shubhamagarwal16
- License: mit
- Created: 2018-08-06T09:39:02.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2018-08-08T07:14:41.000Z (over 6 years ago)
- Last Synced: 2024-10-11T12:11:35.723Z (3 months ago)
- Topics: apis, development, expressjs, login-registration-app, mongodb, nodejs
- Language: JavaScript
- Homepage:
- Size: 19.5 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# nodeAPIStarter
node API starter kit including login/registration with mongodB as database including the full structure with project helpers and routing
## Requirements
- Mongodb
- node and npm
- VS Code (or any other)
- Postman or other (to test API's)## Installation
- Pull or clone
- do `npm install`
- make sure mongodb is installed and running
- I have used 'nodemon' so run the command `npm start`
- Wait for the server running message
- Your API dev server is now running successfully## API testing
- Open new tab in Postman
- Run a POST request `localhost:3030/users/signup`
- Under Body -> x-www-form-urlencoded-- Add key/values
name:Shubham Agarwal
age:24
email:[email protected]
password:zxcHit enter and your registration will be successfull
Other than this there is one more API login- `localhost:3030/users/login`