Skip to content
This repository was archived by the owner on May 13, 2021. It is now read-only.
/ TeachLAJSBackend Public archive

🌱 [deprecated] Express-based middleware/backend for Teach LA's editor!

License

Notifications You must be signed in to change notification settings

uclaacm/TeachLAJSBackend

Folders and files

NameName
Last commit message
Last commit date
Mar 26, 2019
Nov 4, 2019
Mar 26, 2019
Nov 1, 2019
Mar 10, 2019
Jan 22, 2020
Sep 20, 2018
Jul 28, 2020
Sep 20, 2018
May 12, 2021
Oct 29, 2019
Mar 26, 2019
Oct 31, 2019
Mar 30, 2021
Nov 2, 2020

Repository files navigation

ACM Teach LA Backend

⚠ This project has been succeeded by teach-la-go-backend ⚠

This is the (JS) middleware/backend code for the ACM Teach LA editor. It's built by the UCLA ACM Teach LA dev team with Express and Firebase.

Developer Setup

You'll need:

  • Node (we develop this with Node v12.14.1 LTS)
  • git
  • either npm (which comes default with Node) or yarn

Once you have those dependencies, set up is very simple.

Type the following lines into your command line:

$ git clone https://github.com/uclaacm/TeachLAJSBackend.git
$ cd TeachLAJSBackend
$ npm install
$ npm start

You can now test the API on localhost:8081.

You might want to test the backend with our frontend (which you can find more information on here).

To do that, open another terminal window:

$ git clone https://github.com/uclaacm/TeachLAFrontend.git
$ cd TeachLAFrontend
$ npm install
$ npm start

The front-end client should now be automatically opened in your browser; however, you can also manually visit it on localhost:8080. The backend is still open on localhost:8081.