iamdanielcooper / book-blog

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

book-blog

CI

A blog where I can write about the books I'm reading.

Usage

  1. Clone this repo.
  2. cd book-blog
  3. yarn install
  4. npm start
  5. The app will now be running on localhost:3000

Technologies Used.

  • Yarn (package management)
  • NodeJs
    • Express
    • Cors
    • Nodemon
    • Bcrypt
    • Dotenv
    • pg-promise

References.

Database Schemas.

User Stories.

As a user I can create an account with admin privileges.

Endpoints.

POST /users/register
// Adds a new user to the database.

// Body

{
    "username": "string",
    "password": "string",
    "email": "string",
    "isAdmin": boolean
}

POST /database/init
// Tears down and re-inits the database.

About


Languages

Language:JavaScript 100.0%