⚠ 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.
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
.