https://github.com/aayush-dhakal/nodejs-devcamper-api
Devcamper api with user authentication, authorization, password reset through email, mongoose virtuals, validations features
https://github.com/aayush-dhakal/nodejs-devcamper-api
authentication authorization express-js jwt-token mongodb mongoose node-js password-reset
Last synced: 2 months ago
JSON representation
Devcamper api with user authentication, authorization, password reset through email, mongoose virtuals, validations features
- Host: GitHub
- URL: https://github.com/aayush-dhakal/nodejs-devcamper-api
- Owner: aayush-dhakal
- Created: 2022-09-13T12:31:59.000Z (almost 4 years ago)
- Default Branch: master
- Last Pushed: 2022-09-13T12:32:17.000Z (almost 4 years ago)
- Last Synced: 2026-01-03T16:32:15.015Z (6 months ago)
- Topics: authentication, authorization, express-js, jwt-token, mongodb, mongoose, node-js, password-reset
- Language: HTML
- Homepage:
- Size: 277 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
Awesome Lists containing this project
README
# DevCamper API
> Backend API for DevCamper application, which is a bootcamp directory website
## Usage
Rename "config/config.env.env" to "config/config.env" and update the values/settings to your own
## Install Dependencies
```
npm install
```
## Run App
```
# Run in dev mode
npm run dev
# Run in prod mode
npm start
```
## Database Seeder
To seed the database with users, bootcamps, courses and reviews with data from the "\_data" folder, run
```
# Destroy all data
node seeder -d
# Import all data
node seeder -i
```
## Demo
Extensive documentation for dev environment [here](https://localhost:5000)
- Version: 1.0.0
- License: MIT
- Author: Aayush Dhakal