Coder Social home page Coder Social logo

hermy1 / scheduler-server Goto Github PK

View Code? Open in Web Editor NEW
0.0 3.0 1.0 4.22 MB

Group Project: A Student Scheduling App Server! A team project. This Node.js and TypeScript-powered API allows students to schedule appointments with their professors

TypeScript 100.00%

scheduler-server's Introduction

๐Ÿ“… Scheduling Server

A Student Scheduling App Server! A team project(class group). This Node.js and TypeScript-powered API allows students to schedule appointments with their professors ๐Ÿš€

โœจ Features

โœ… User Authentication: Students and professors can securely log in and access their accounts. ๐Ÿ”

๐Ÿ—“๏ธ Appointment Management: Create, update, and delete appointments with ease. ๐Ÿ“†

๐Ÿ‘๏ธโ€๐Ÿ—จ๏ธ View Upcoming Appointments: Keep track of your upcoming appointments effortlessly. ๐Ÿ“…

๐ŸŒ Secure MongoDB Integration: We ensure your data is safe and scalable with MongoDB integration. ๐Ÿ“ˆ

๐Ÿณ Docker Support: Use Docker for easy deployment and containerization. ๐Ÿ‹

๐Ÿ“‹ Prerequisites

Before you begin, ensure you have met the following requirements:

  • Node.js and npm installed (recommend using Node.js LTS version)
  • MongoDB server running locally or accessible
  • connect-mongo dependency is used to store session information in the database. if it's not working make sure you install with force flag bash npm install connect-mongo --force for now this is a temporary fix.
  • Docker installed (optional)

๐Ÿš€ Installation

To get started, follow these steps:

  1. Clone this repository to your local machine:

    git clone https://github.com/hermy1/scheduler-server.git
    cd scheduler-server
  2. Install Dependencies:

    yarn install
  3. Configure Environment Variables:

    Create a .env file in the root directory by running a bash command:

    cp .env.example .env
    

    Then fill the appropriate variables in newly created .env file. for example SECRET="joweijwejwljoeijweo" NODE_ENV=development MONGO_DATABASE= add the database etc

  4. Start the Server:

    yarn start:dev

๐Ÿ“„ API Documentation

API instructions

๐Ÿค Git Commands

Before you start follow this instructions: Step 1: Make sure you're on the master branch before you start your task.

git status

this should say something like you're: On branch master if you're not on master then do

git checkout master

Step: 2: Then run the following command:

git pull

This will pull the latest changes. Then you can do the following command to start your task:

git checkout -b feature/authentication

"feature/authentication" <<-- this would be your new branch to work on. after push it and add someone to review your code before it is merged to master branch.

Step 3: When you're done with your task.

git add .

Step 4: Commit the changes

git commit -m "Brief description of your task"

Step 3: When you're done with your task. Then push your branch.

git push feature/authentication 

๐Ÿ“„ License

This project is licensed under the MIT License - see the LICENSE.md file for details.

Happy scheduling! ๐Ÿ“š๐Ÿ“†๐ŸŽ‰

scheduler-server's People

Contributors

hermy1 avatar hannahkuderer avatar matthewmcroberts avatar ezryan85 avatar epwelker avatar natemagz avatar

Watchers

 avatar  avatar  avatar

scheduler-server's Issues

combine professor update status and summary

Combine the update status ("/update-apointment-status") route and update ( "/addSummary") summary into one thing so that I can send this information

  appointmentId: string;
  appointmentStatus: AppointmentStatus; 
  appointmentLocation: string;
  appointmentSummary: string; 

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.