NaofalMufid / rpsbackend

This repository for dashboard management RockPaperScissors Game.

Home Page:https://afternoon-river-46748.herokuapp.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

RockPaperScissors Backend

This repository for backend and dashboard management RockPaperScissors Game.

Build with :

  • node
  • framework : express
  • view engine : ejs
  • database : postgres
  • library/package: sequelize & sequelize-cli, passport, jsonwebtoken, bcrypt

Features

  • admin dashboard
  • login & logout
  • crud user, biodata and history
  • api

database design

alt text

Dashboard APP

run in htpp://localhost:8000 or htpp://127.0.0.1:8000

resource :

  • users
  • user biodata
  • user history

API Endpoint :

/api/v1/players/ = GET
/api/v1/players/:id = GET
/api/v1/register = POST
/api/v1/login = POST

/api/v1/assets = GET
/api/v1/assets/:id = GET

Setting database and run app

edit attributes vale on file db.config.json in app/config/
sequelize db:create
sequelize db:migrate

npm run start
# or
npm run dev

run seeder

sequelize db:seed:all

About

This repository for dashboard management RockPaperScissors Game.

https://afternoon-river-46748.herokuapp.com


Languages

Language:JavaScript 58.4%Language:HTML 35.6%Language:CSS 5.7%Language:Shell 0.3%