HopeHire is a job portal that's specifically designed with the health and physical conditions of kidney patients in mind. Our recommendation AI serves potential job opportunities that match their skillset, experience, and their health needs.
This repository contains the backend code for HopeHire. We built this backend using Express, PostgreSQL for the database, and Sequelize as the ORM. The code is organized into modules, making it easy to maintain and add new features.
Prerequisites NodeJS LTS v18.14.0
- Install nvm on your machine
- run
nvm install v18.14.0
- run
nvm use
- Run
npm install
in the working directory to install required packages - Reference
.env.example
and create your own.env
file - Run
npm run db:create
to create the database. - Run
npm run db:migrate
to migrate models. - Run
npm run db:seed
to seed database. - Run
npm run dev
to start the development server
src/
├─ consts/
│ ├─ enviroment.ts
│ ├─ userFriendlyMessages.ts
├─ controllers/
│ ├─ ExampleController.ts
├─ db/
│ ├─ migrations/
│ ├─ seeders/
│ ├─ index.ts
├─ middlewares/
├─ models/
│ ├─ Example.ts
│ ├─ index.ts
├─ repositories/
│ ├─ BaseRepository.ts
├─ routes/
│ ├─ ExampleRoutes.ts
├─ services/
│ ├─ ExampleService.ts
├─ types/
│ ├─ index.ts
├─ utils/
│ ├─ container.ts
│ ├─ dbUtils.ts
├─ app.ts
├─ server.ts
- Use Gitmoji to add emojis to your commit messages
- Use the following format for your commit messages
- ✨
feat: add new feature
- 🐛
fix: fix a bug
- ♻️
refactor: refactor code
- 🎨
style: change styling
- 🔥
chore: remove unused code
- 📝
docs: update documentation
- 📦
package: update package
- 🚀
deploy: deploy to production
- 🗑️
waste: remove unused code
- ✨