DatePoll-Frontend
Information
- Project website (https://datepoll.org)
- API / backend documentation (https://datepoll.org/docs/DatePoll)
- Other projects
- created with Angular, used libaries.
Releases
Releases are deployed into this directory.
There are 3 different build types:
- Latest release version (builded after a tag is created): DatePoll-Frontend-latest.zip
- Latest dev version (builded after every commit to development): DatePoll-Frontend-dev.zip
- Release candidate version (updated only sometimes): DatePoll-Frontend-rc.zip
Development
A more complete / more detailed development setup guide can be found here.
Requirements
- NodeJS
- NPM
Installation
Development server
Run ng serve
for a dev server. Navigate to http://localhost:4200/
. The app will automatically reload if you change any of the source files.
Create dev build with service worker
rm -rf dist/DatePoll-Frontend && ng build --configuration=sw-testing
Serve dev build
npm install http-server-spa -g
http-server-spa dist/DatePoll-Frontend/ index.html 4200
Build
Run ng build --prod
in the src
-folder to build the project. The build artifacts will be stored in the dist/
directory. Use the --prod
flag for a production build.