Find your dream job!
This is a rest api made with Express, Typescript and MongoDB that allows users to apply for a job.
Live demo: https://apply-backend.herokuapp.com/api
Technologies that I used to develop this project
- Express
- Typescript
- MongoDB
- Mongoose
- class-transformer
- class-validator
- TSyringe
- jsonwebtoken
- bcrypt
- multer
- nodemailer
- Mailtrap
- Have NodeJS installed
- Have a MongoDB database
Clone the project and access the folder
$ git clone https://github.com/alxrdev/apply-api.git
$ cd apply-api
Follow the steps below
# Install the dependencies
$ yarn
# Start the client
$ yarn dev
Create a '.env' file on the root folder and add your configs
PORT=3000
HOST=http://localhost:3000
NODE_ENV=development
ORIGIN=http://localhost:3000
MONGODB_CONNECTION=
JWT_SECRET=
JWT_EXPIRES_TIME=15d
SMTP_PROFILE={ "provider": "", "senderName": "", "senderEmail": ", "host": "", "port": , "username": "", "password": "" }
STORAGE_TYPE=disk
STORAGE_PROFILES={"resume": { "tmpDestination": "", "destination": "", "extensionTypes": ".docx,.pdf", "mimeTypes": "application/vnd.openxmlformats-officedocument.wordprocessingml.document,application/pdf", "maxSize": 2000000 }, "avatar": { "tmpDestination": "", "destination": "", "extensionTypes": ".jpeg,.jpg,.png", "mimeTypes": "image/jpeg,image/png", "maxSize": 2000000 }}
Feito com ๐ por Alex Rodrigues Moreira ๐ Veja meu Linkedin