An application for human resource team / recruitment consultancies to streamline hiring process, scheduling interviews and tracking candidates. This project is currently work in progress.
- API
- Node
- Express
- GraphQL
- MongoDB
- Web App
- React
- Redux
- React Router
- Server Side Rendering
- Material UI
- Mobile App
- React Native
- Redux
- React Navigation
- Prerequisites
- Node
- MongoDB
- Clone repo
git clone [email protected]:atulmy/hire-smart.git hire-smart
- Switch to
code
directorycd code
- Configurations
- API
- Modify
/api/src/config/database.json
for database credentials - Create local environment file
cp /api/.env.example /api/.env
- Modify
/api/.env
for PORT (optional)
- Modify
- Webapp
- Create local environment file
cp /web/.env.example /web/.env
- Modify
/web/.env
for PORT / API URL (optional)
- Create local environment file
- API
- Setup
- API: Install packages and database setup (migrations and seed)
cd api
andnpm run setup
- Webapp: Install packages
cd web
andnpm install
- API: Install packages and database setup (migrations and seed)
- Development
- Run API
cd api
andnpm start
, browse GraphiQL at http://localhost:8000/ - Run Webapp
cd webapp
andnpm start
, browse webapp at http://localhost:3000/
- Run API
- Deployment
- Without Docker
- Configure nginx on server
- Run API
cd api
andnpm run start:prod
, creates an optimized build inbuild
directory and runs the server - Run Webapp
cd web
andnpm run start:prod
, creates an optimized build inbuild
directory and runs the server
- Using Docker
cd code/deploy
- Update your domain, SSL certificate path and other configurations in
docker-compse.yml
- Start Docker containers:
docker-compose up -d
- Without Docker
hiresmart.app [coming soon]