- Ensure you have Node.js installed.
- Create a Mongo Atlas database online or start a local MongoDB database.
- Create a
server/.env
file with following properties:PORT
property set to the port you want the express api to run on.MONGO_URL
property set to your MongoDB connection string.FRESHDESK_API_TOKEN
token to authenticate in the FreshDesk API.GITHUB_API_TOKEN
token to authenticate in the GitHub API. - Create a
client/.env
file with following properties:URL_SERVICE_API
property set to the url where the express API will run (in our case should behttp://localhost:PORT
). - In the terminal, run:
npm install
- In the terminal, run:
npm run server
- In a second terminal:
go inside client folder 'client' by running
cd client
runnode index.js