farrelmahaztra / express-api

A simple Express API, used to explain working with APIs

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Creating a REST API

This is a simple example of a REST API may look like, done in Express.

Setup

  1. Clone this repository
git clone https://github.com/farrelmahaztra/express-api.git
  1. Move into the directory
cd express-api
  1. Install dependencies
npm install
  1. Run the server
node index.js

Notes

  • Like with last week's state management talk, this isn't the only way to create a REST API. There's plenty to improve!

About

A simple Express API, used to explain working with APIs


Languages

Language:JavaScript 88.3%Language:Shell 11.7%