Skip to content

NovTi/SEproject

 
 

Repository files navigation

What is this repo for?

This repo is the Coursepedia project that can present your course history and recommend your future courses for NYU Shanghai CS students.

The contributors are Yongyu Liu, Haocheng Yang, and Yuxuan Xia

How to run the software

Follow these steps to run the project

Backend

  1. install dependencies
pip install django-cors-headers Django djangorestframework psycopg
  1. Database setup (Make sure you have PostgreSQL installed)
createdb your_database_name
  1. Modify database settings in backend/se_project/settings.py

  2. Run migrations and start the Django development server:

cd backend
python manage.py migrate
python manage.py runserver
  1. Run database upload script
cd courses
python3 add_to_db.py

Frontend

Before you begin, make sure you have Node.js and npm installed on your machine. You can download and install them from here.

cd frontend/myapp
npm install
npm start

Run test cases

Go to Test README for detail instruction to run tests

Tip for usage

Refer to issue 12 for the instruction to get the course history source code.

Links

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 76.0%
  • JavaScript 22.2%
  • HTML 1.8%