This project is using Angular as a frontend framework, serving all its assets statically using Typetron. This means that
you will need to build the Angular app before opening the browser. Usually, apps using Angular have their own server
that resolves the frontend resources, but in this Typetron app we wanted to demonstrate it can serve static assets as
well. There are other examples on the Typetron website about how you can run Typetron and a
frontend server separately. That kind of setup makes use of the CORSMiddleware
because they run on different ports.
$ npm install
$ cd frontend
$ npm install
# inside the `frontend` directory
$ npm run build
# or
$ npm run build:watch # if you want to rebuild the Angular app after doing some modifications
$ npm start
The app comes with some dummy data already in the sqlite database file. You can login with the admin user using:
Email: admin@typetron.org
Password: password
Visit localhost:8000 in a browser and explore the app.
Have fun!