This project contains boilerplate for creating web apps using Angular, a web framework for building efficient and scalable mobile and desktop applications.
It is mostly built to be used as a starting point in hackathons and implements common authentication functionality such as login, sign up, form validation, JWT authentication, state storage and more. It also has common UI elements such as navigation bar, footer, landing page, etc.
You can also look at my Nest Hackathon Starter template that shares the same contract with this web app.
- Server Side Rendering
- Make sure that you have Node.js(>= 10.9.0) installed.
- Clone this repository by running
git clone https://github.com/ahmetuysal/angular-hackathon-starter.git <YOUR_PROJECT_NAME>
or directly create your own GitHub repository using this template. - Move to the appropriate directory:
cd <YOUR_PROJECT_NAME>
. - Run
npm install
to install dependencies.
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.
Run ng generate component component-name
to generate a new component. You can also use ng generate directive|pipe|service|class|guard|interface|enum|module
.
Run ng build
to build the project. The build artifacts will be stored in the dist/
directory. Use the --prod
flag for a production build.
Run ng test
to execute the unit tests via Karma.
Run ng e2e
to execute the end-to-end tests via Protractor.
To get more help on the Angular CLI use ng help
or go check out the Angular CLI README.
Licenced under MIT License. Angular is also MIT licensed.