An open API service indexing awesome lists of open source software.

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

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