Skip to content

Latest commit

 

History

5 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

rest-API-template

This is a sample REST API implementation using Express JS and MySQL. The code in the main branch is working with MySQL database.

Runing the code

  1. Clone the repository
  2. Create a .env file in the root directory with the template given in the .env-template file. The values should specify the host, database, and user and password to connect to your database.
  3. npm install
  4. npm start

REST Endpoints

This is a sample documentation. At the time when you check this, the server might not be available to use the endpoint.

BaseURL: https://your-website-address.com/

Method Endpoint Parameters Description
GET api/resources Find the list of all records in the endpoint

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages