Skip to content

Latest commit

 

History

History
61 lines (41 loc) · 1.13 KB

File metadata and controls

61 lines (41 loc) · 1.13 KB

🐛 Bug Tracker

A bug tracker to help my development process.

Get Started

  • Clone or download this repository

  • Access folders ./server and ./web

  • Install dependencies on both folders

yarn install
or
npm install

🌐 Server

  • Create a Postgres database

  • Create tables following this file

  • Create a .env file with this infos

PORT = (server port)
DB_HOST = (postgres host)
DB_PORT = (postgres port)
DB_USER = (postgres user)
DB_PASS = (postgres password)
DB_DATABASE = (postgres database name)
TOKEN_SECRET = (generate random characters to your token secret)
  • Start server
yarn dev
or
npm run dev

💻 Web

  • Start react development server
yarn start
or
npm run start
  • Access localhost:3000 to be redirected to Login page

  • Every user created in Register page, will recieve an "normal user" role. To change this, make an admin in the database before.