Something went wrong. Try again.
unoffical wafrn mirror wafrn.net
Something went wrong. Try again.
README.md
Wafrn - Angular #
This package is the frontend of Wafrn.
The frontend of Wafrn uses Angular. Have fun doing stuff ;D
Local Development #
You can run the development server through the command line:
npm run frontend:develop # Point to local backend
npm run frontend:develop:prod # Point to production backend
If you have Nix installed, you can also run the development environment through the provided shell.nix file which includes Node 20.
nix-shell
# Now in nix shell with Node 20 installed
To run the frontend pointing to the production server and immediately exit upon the command's completion, you can run:
nix-shell --command "trap 'exit' INT;npm run frontend:develop:prod"
In either case, when the server is set up, you should get a success message:
Watch mode enabled. Watching for file changes...
➜ Local: http://localhost:4200/
➜ press h + enter to show help
Contributing #
Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.
Merge pull requests to the main branch.