Awesome
Angular Hackathon Starter <a href="https://angular.io/" target="blank"><img src="https://angular.io/assets/images/logos/angular/angular.svg" height="28px" alt="Angular Logo"/></a>
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.
Backlog
- Server Side Rendering
Installation
- 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.
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.
Code scaffolding
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
.
Build
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.
Running unit tests
Run ng test
to execute the unit tests via Karma.
Running end-to-end tests
Run ng e2e
to execute the end-to-end tests via Protractor.
Further help
To get more help on the Angular CLI use ng help
or go check out the Angular CLI README.
License
Licenced under MIT License. Angular is also MIT licensed.