An open API service indexing awesome lists of open source software.

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

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
```