Skip to content

Fortellis-Dev/backend-starter-seed

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

backend-starter-seed

This repo and sample code helps the back-end (node.js express server) securely communiate with Fortellis platform using the API key.

Boiler-plate for nodejs back-end application to integrate with Fortellis. This seed comes with an /appointments route which fetches the list of appointments from Appointments API

Prerequisites

Getting Started

cd fortellis-getting-started

# Navigate to app-starter-backend directory
cd app-starter-backend

# Install NPM dependencies
npm install

# Run tests single run
npm test

# Start your app
npm start

# Running tests in watch mode during development
npm run test:watch

Note: This project uses Nodemon. It watches for any changes in the app and automatically restarts the server. This will save you a lot of time in the long run, because you won't need to manually restart the server each time you make a small change in code.

Obtaining an API Key

This project need access to Appointments API available in the Fortellis platform which requires a valid API key and API secret. You can create them by following this guide. Make sure you select Appointments when registering your solution and update apikey and apisecret in src/appointments/appointments.repo.js

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published