Welcome to the 2018 ESE course. You can use this scaffolding as a starting point for your group projects. It contains the following components:
- frontend: an Angular application
- backend: a Node.js application written in TypeScript, using the express.js web framework
- You should have Node.js and NPM installed (NPM is installed automatically with latest versions of Node.js) which are needed by both frontend and backend projects. You can verify whether you have both by running
node -v
andnpm -v
in terminal or command prompt. - You should have Angular CLI globally installed on your machine.
- Get your WebStorm student license from here
- Clone this repo on your machine and immediately delete
.git
folder. - Decide among your team members, and create a new git repository on Github of your own. Push this project as an initial commit.
- frontend and backend contain instructions to set up the projects on your machines.
- We encourage you to use WebStorm as an IDE for this project. Once you clone the project to your machine, refere this tutorial, specifically section 'Starting with an existing Angular application' to open and use the project in WebStorm.
- The main project folder contains two subfolders- frontend and backend. These two are projects on their own which you will run independently.
- The backend folder contains express project that serves as a REST API, exposes endpoints to accept HTTP requests. For received HTTP requests, it in turn returns JSON data.
- The frontend folder contains Angular project, which makes HTTP requests to the backend and processes the JSON data received i.e. make changes if required and display it on the UI.
- Projects are separated in this way because in the future one can easily replace either of them if the team decides to use another technology e.g. React JS for frontend or Django REST framework for backend.