Skip to content
This repository has been 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

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.