Skip to content

RajivChitale/telescope-booking

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 

Repository files navigation

telescope-booking

Webpages for telescope slot booking and creation for Cepheid.

Tech Stack

  • Frontend: React
  • Backend: Node
  • Database: MYSQL
  • Misc: Express, Axios, Sequelize

Installation

To install dependencies, run
npm install

Edit URL in frontend/src/components/TelescopeBooking.js to be the address of the backend server. backend/serviceAccount.json is not public here. It is needed for firebase authentication services.

Create a database 'cepheid' and two tables. Use the commented code in backend/index.js for this.

Manually insert gmail ids of admins: INSERT INTO admin VALUES("[email protected]");
Removal of an admin: DELETE FROM admin WHERE emailid = "[email protected]";

Features

User

  • Book a slot
  • User and guide details are hidden from other users

Admin

  • Create a slot
  • Cancel a slot
  • Clear past slots from database
  • Sees all details for slots

Colour code

  • Blue: available
  • Red: not available
  • Green: booked

About

Telescope slot booking and creation web pages

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published