Skip to content

ieee-ihuthess/branch_API

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

IEEE ATEITH Student Branch

This API is created to exchange data with our web page

useful commands

  • npm install to install dependencies.
  • npm start or node bin/www to start the server.
  • git pull to pull newest changed from the repositorys.
  • PORT=9000 npm start to start on port 9000 (change the number to use another port).

About

By default the sever is set to run on port 3001

Notes

To create a route

  • create a file at /routes/filename.js
  • require it at /app.js
  • app.use() it at /app.js
  • create responses at /routes/filename.js

Great!! We have a new route!

Response types

  • GET typical request from a browser.
  • POST is used to update data.
  • PUT is used to create data
  • DELETE is used to remove data.

About

This API is used for managing branch data

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published