Minimal Online store made with Angular, RxJS, Angular Material, tailwindcss, Firebase. Built for learning purposes. Live here.
This project was generated with Angular CLI version 9.1.8.
You can either set up Firebase for this app or run it with the mock environment.
Skip this section if you want to run the app with Firebase.
To run the app without integrating Firebase:
- Run
npm install
- Run
npm run mock
orng serve -c mock
. Navigate tohttp://localhost:4200/
.
To run the app with Firebase:
- Go to Firebase console and create a new project with a Realtime Database.
- Run
npm install
- Add your Firebase config to the app
- Find your configuration in project settings under Firebase SDK snippet.
- Put it in
src/config/db.sample.json
and rename the file todb.json
.
- Run
ng serve
for a dev server. Navigate tohttp://localhost:4200/
.
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. - Use
-c mock
for a mock build.
You need to Configure Firebase first. Then run ng deploy
to deploy the application to Firebase hosting.
I build this project to learn Angular. I've learned Angular by:
- Getting started with Angular & TypeScript by Mosh Hamedani.
- Build your first Angular app massive tutorial by Dan Wahlin | Scrimba.
- It is the time for the docs.
- Take notes (do not copy & paste). Here are my Angular notes.
- Build an app
- Start from an idea or clone a popular app
- Apply new things. Do not stick around what you have already learned.
- Do not stop much at the UI. Done is better than perfect.
- Complete the project to the end.
- In the end, optimize your code.
- Need help? https://stackoverflow.com/search