Skip to content

Latest commit

 

History

History
78 lines (53 loc) · 922 Bytes

README.md

File metadata and controls

78 lines (53 loc) · 922 Bytes

Don't Break the CHAIN

Back-end 🔙 for the app Chains.

Contributions are welcome🙏. To contribute -

  1. Run command npm install.
  2. Then to start server💻 run npm run dev.
  3. To run tests 💯 npm run test or npm run test-watch to run in watch mode 👀.

Technology Used -

  • Node JS
  • PostgreSQL 🐘
  • GraphQL

Framework / Libraries Used -

  • Express JS
  • Knex JS
  • Apollo
  • Json Web Tokens

Testing With -

  • Jest
  • Supertest

Code checking with -

  • Eslint
  • Prettier

Database

Tables

  1. Users
  2. Habits
  3. Tokens

Tokens

  1. Token (PK)
  2. Username

Users

  1. Username (PK)
  2. Name
  3. Password
  4. Age
  5. Gender
  6. Created_At
  7. Updated_At

Habits

  1. Id (Auto increment and PK)
  2. Username
  3. Difficulty Level
  4. Icon
  5. Reminder
  6. Coins
  7. Diamonds
  8. Completed Dates
  9. Created_At
  10. Updated_At