https://github.com/prafulkoppalkar/hiring-app
Its a backend service which provides interface for all the data that is needed to build the hiring-app-ui. It consists api and necessary model and associations between diff tables that are present in DB
https://github.com/prafulkoppalkar/hiring-app
expressjs javascript nodejs sequelize
Last synced: 4 months ago
JSON representation
Its a backend service which provides interface for all the data that is needed to build the hiring-app-ui. It consists api and necessary model and associations between diff tables that are present in DB
- Host: GitHub
- URL: https://github.com/prafulkoppalkar/hiring-app
- Owner: prafulkoppalkar
- Created: 2024-08-26T13:37:26.000Z (9 months ago)
- Default Branch: main
- Last Pushed: 2024-08-28T11:43:10.000Z (9 months ago)
- Last Synced: 2025-01-31T18:56:34.035Z (4 months ago)
- Topics: expressjs, javascript, nodejs, sequelize
- Language: JavaScript
- Homepage:
- Size: 35.2 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
### Prerequisites
Ensure you have `yarn` or `npm` installed on your machine.
### Installation
1. **Install Dependencies**
Use one of the following commands to install the backend project dependencies:
```bash
yarn install
# or
npm install
```2. **Configure CORS**
Update the CORS configuration in the backend to allow requests from your frontend application.
3. **Update Environment Variables**
Open the `.env` file and update it with the credentials required to connect to your database.
### Development#### Start the Backend Server
Use one of the following commands to start the backend development server:
```bash
yarn dev
# or
node app.js
```
### API Endpoints- `GET /api/candidates/:id` - Retrieve details of a specific candidate by ID.
- `GET /api/candidates` - Retrieve a list of candidates.
- `GET /api/skills` - Retrieve a list of skills.
- `GET /api/search` - Retrieve a list of candidates based SkillName and SearchText Query params.The list apis are paginated. Use `limit` & `offset` to get limited paginated data.