Skip to content

A jobs API made with Express, Typescript and MongoDB, implementing CI/CD with Travis and Heroku.

Notifications You must be signed in to change notification settings

alxrdev/apply-api

Repository files navigation

CRWN Clothing
Apply API

An API that allows users to apply for a job.

Find your dream job!

GitHub top language Made by Repository size GitHub last commit Repository issues GitHub


💇🏻‍♂️ About the project

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

Technologies that I used to develop this project

💻 Getting started

Requirements

  • 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