Skip to content
This repository has been archived by the owner on Aug 10, 2023. It is now read-only.

Home of the internal website of the Laurier Computer Science PHI Society.

Notifications You must be signed in to change notification settings

LaurierCS/PHI-InternalWebsite

Repository files navigation

Home of the internal website of the Laurier Computer Science PHI Society.

Getting Started

Prerequisites

To get started with development you need to install a few things.

  1. VSCode; IDE used for development
  2. MongoDB; for storing data on the backend
  3. NodeJS

Running the app

To get the development version of the app up and running, you can do:

npm install
cd server 
npm install
cd ../client
npm install
cd ..
npm run dev 

You can also run the client and server individually with npm run client and npm run server respectively.

API

User

Route: /api/users/register
Request Type: POST
Success: 200 status code
Create a new user given username, email, password in the request body.

Route: /api/users/login
Request Type: POST
Success: 200 status code
Log in a user given username & password in the request body.

Jobs

Route: /api/jobs/create
Request Type: POST
Success: 200 status code
Create a new job document in the database. The request body must be a JSON job document.

Route: /api/jobs/delete/<job_id>
Request Type: POST
Success: 200 status code
Delete the job with the given job_id

Route: /api/jobs/update/<job_id>
Request Type: POST
Success: 200 status code
Update the job with the given job_id. The request body must be a JSON job document, including any fields to be updated.

About

Home of the internal website of the Laurier Computer Science PHI Society.

Resources

Stars

Watchers

Forks

Releases

No releases published