Skip to content

stojkovicv/webstore-backend-api

Repository files navigation

Web Bootcamps Store API

Backend API for purchasing Development courses. It comprises bootcamps along with their courses, users and reviews. The CRUD functionalities are provided for all resources, along with a hashed passwords and cookies for users authentication. API is secured against nosql injection, cros-site-scriptinga and multiple requests.

Usage

Remove one .env exstension from "config/config.env.env" and set the values.

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

# Remove all data
node seeder -d

# Import all data
node seeder -i

Documentation

Enable index.html file and locate it in "./public" folder, for requests documented with Postman.

  • Version: 1.0.0
  • Author: Vuk Stojkovic & Traversy Media

About

Express.js API for CRUD operations, hashing, token authentication and threats handling for bootcamps webstore.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published