/cms-api

Primary LanguageJavaScript

CMS

An API to manage content

Getting Started

These instructions will get you a copy of the project up and running on your local machine for development and testing purposes. See deployment for notes on how to deploy the project on a live system.

  • Just clone this repository by typing: https://github.com/JoyLubega/cms-api.git
  • Switch to project directory: cd cms-api
  • Install project requirements using yarn install
  • yarn start to run the api

## API Endpoints
You can use postman or even curl to reach out to the following api endpoints:

URL Endpoint	|               HTTP Request   | Resource Accessed |
----------------|-----------------|-------------|------------------
/files   |      POST	| Add a file
/files	  |     GET	| GET all files
/presentations   |     GET     | Get all presentations
/presentations   |     POST     | Post a presentation

Deployed link: https://elpis.herokuapp.com