|
1 |
| -# shop-guard |
2 |
| -ShopGuard is a web application that combines shopping functionalities with user authentication and a responsive dashboard interface. This project utilizes Angular for front-end development and Firebase for user authentication. |
| 1 | +# ShopGuard |
| 2 | + |
| 3 | +ShopSecure is a shopping dashboard application that provides a seamless user experience for managing shopping activities. This project includes a login and registration system with Firebase authentication and a user-friendly dashboard designed in Angular. The project is a demonstration of modern web development practices, focusing on authentication and dashboard UI. |
| 4 | + |
| 5 | +## Features |
| 6 | + |
| 7 | +- **Authentication**: User authentication (login and registration) using Firebase Authentication. |
| 8 | +- **Dashboard**: Responsive dashboard interface for managing shopping activities. |
| 9 | +- **Angular Framework**: Built with Angular for scalable and maintainable front-end development. |
| 10 | +- **Design Conversion**: Conversion of Adobe XD design to functional Angular components. |
| 11 | + |
| 12 | +## Getting Started |
| 13 | + |
| 14 | +Follow these instructions to get a copy of the project up and running on your local machine for development and testing purposes. |
| 15 | + |
| 16 | +### Prerequisites |
| 17 | + |
| 18 | +- Node.js and npm installed on your machine |
| 19 | +- Angular CLI installed globally (`npm install -g @angular/cli`) |
| 20 | +- Firebase project set up with authentication enabled |
| 21 | + |
| 22 | +### Installation |
| 23 | + |
| 24 | +1. **Clone the repository**: |
| 25 | + |
| 26 | + ```bash |
| 27 | + https://github.com/nyein2001-dev/shop-guard.git |
| 28 | + cd shop-guard |
| 29 | + ``` |
| 30 | +2. **Install dependencies**: |
| 31 | + |
| 32 | + ```bash |
| 33 | + npm install |
| 34 | + ``` |
| 35 | + |
| 36 | +2. **Firebase configuration**: |
| 37 | + |
| 38 | + Before running the application, you need to add your Firebase configuration to `src/environments/environment.ts`. Replace `YOUR_API_KEY`, `YOUR_AUTH_DOMAIN`, `YOUR_PROJECT_ID`, |
| 39 | + `YOUR_STORAGE_BUCKET`, `YOUR_MESSAGING_SENDER_ID`, and `YOUR_APP_ID` with your Firebase project credentials. |
| 40 | + |
| 41 | + ```typescript |
| 42 | + export const environment = { |
| 43 | + production: false, |
| 44 | + firebase: { |
| 45 | + apiKey: "YOUR_API_KEY", |
| 46 | + authDomain: "YOUR_AUTH_DOMAIN", |
| 47 | + projectId: "YOUR_PROJECT_ID", |
| 48 | + storageBucket: "YOUR_STORAGE_BUCKET", |
| 49 | + messagingSenderId: "YOUR_MESSAGING_SENDER_ID", |
| 50 | + appId: "YOUR_APP_ID" |
| 51 | + } |
| 52 | + }; |
| 53 | + ``` |
| 54 | +4. **Start the development server**: |
| 55 | + |
| 56 | + ```bash |
| 57 | + ng serve |
| 58 | + ``` |
| 59 | +## Usage |
| 60 | + |
| 61 | +- **Login/Signup**: Use the authentication forms to register a new user or log in with an existing account. |
| 62 | +- **Dashboard**: Once logged in, you can access the shopping dashboard to manage your shopping activities. |
| 63 | + |
| 64 | +## Contributing |
| 65 | + |
| 66 | +Feel free to submit issues, pull requests, or feature requests. We welcome all contributions to improve ShopGuard. |
| 67 | + |
| 68 | +--- |
| 69 | + |
| 70 | +Happy Weather Tracking with SkySnap! |
0 commit comments