Skip to content

bdirs/bdirs-authentication

Folders and files

NameName
Last commit message
Last commit date

Latest commit

93652ba · Jun 15, 2020

History

42 Commits
Aug 4, 2019
Jun 15, 2020
Aug 1, 2019
Aug 24, 2019
Jul 31, 2019
Aug 23, 2019
Oct 1, 2019
Jun 8, 2020
Feb 12, 2020
Mar 7, 2020
Jul 31, 2019
Jul 30, 2019
Mar 7, 2020
Mar 7, 2020
Jul 29, 2019
Feb 11, 2020
Jun 8, 2020
Mar 7, 2020
Mar 7, 2020
Aug 7, 2019
Jul 29, 2019
Oct 1, 2019

Repository files navigation

React Native is released under the MIT license. Current npm package version. PRs welcome!

Background

This platform helps to address an issue with applying and getting the right degree program to to at university more so public universities in Uganda. Choosing the right program to do at university can help one get their dream job as well do something they love.

Project dependencies
  • Javascript/Typescript Full Stack
  • Node JS Backend
  • Express Js Framework
  • Jest Testing Framework
  • Postgres Database
  • Sequelize
Setup
  • clone repo using git clone https://github.com/bdirs/bdirs-authentication.git

  • cd into project using cd bdirs-authentication.

  • install dependencies using yarn yarn or npm install

  • create a .env file and copy content from env-example.txt

  • populate .env file with appropiate values

  • Run migrations using yarn db:migrate

  • Run seeders using ./node_modules/.bin/sequelize db:seed:all

  • start dev server using yarn start:dev

  • Run tests using yarn test

Docker Setup
  • Run docker-compose up -d

  • Run migration using docker-compose exec api yarn db:migrate

  • Run docker-compose exec api export SUPER_ADMIN_EMAIL=anyemail to add super admin email

  • Run docker-compose exec api export SUPER_ADMIN_PASSWORD=password to add super admin password

  • Run Seeders using docker-compose exec api ./node_modules/.bin/sequelize db:seed:all

NOTE

Please find the full project report attached to repo. Some diagrams got mixed up but will be fixed soon