https://github.com/sumit-kr-das/recruitx-backend
https://github.com/sumit-kr-das/recruitx-backend
docker expressjs joi mongodb nodejs redis typescript
Last synced: about 2 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/sumit-kr-das/recruitx-backend
- Owner: sumit-kr-das
- Created: 2023-07-15T15:38:42.000Z (almost 2 years ago)
- Default Branch: main
- Last Pushed: 2024-06-02T13:18:47.000Z (about 1 year ago)
- Last Synced: 2025-02-16T02:47:35.573Z (4 months ago)
- Topics: docker, expressjs, joi, mongodb, nodejs, redis, typescript
- Language: TypeScript
- Homepage:
- Size: 57.7 MB
- Stars: 2
- Watchers: 1
- Forks: 1
- Open Issues: 5
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
## Development
### Setup
#### Run locally
1. Clone the repo into a public GitHub repository (or fork https://github.com/sumit-kr-das/recruitx-backend).```sh
git clone https://github.com/sumit-kr-das/recruitx-backend
```2. Go to the project folder
```sh
cd recruitx-backend
```3. Install packages with yarn
```sh
yarn install
```4. Set up your `.env` file
- Duplicate `.env.example` to `.env`
- Use `openssl rand -base64 32` to generate a key and add it under `JWT_SECRET` in the `.env` file.5. Run redis stack on docker
```sh
docker run -d --name redis-stack -p 6379:6379 -p 8001:8001 redis/redis-stack:latest
```6. Run this project
```sh
yarn dev
```#### Quick start with `docker`
1. Clone the repo into a public GitHub repository (or fork https://github.com/sumit-kr-das/recruitx-backend).
```sh
git clone https://github.com/sumit-kr-das/recruitx-backend
```2. Go to the project folder
```sh
cd recruitx-backend
```3. Run recruitx-backend on docker
```sh
docker-compose up -d
```