This project is an application developed using Angular for the frontend, with a backend powered by Seneca microservices and an Express Gateway server. The architecture leverages a serverless approach to efficiently handle API requests and business logic.
The ServerlessApp demonstrates a modular and scalable application structure by combining Angular for dynamic user interfaces, Seneca for microservices-based business logic, and Express Gateway for API management. This setup facilitates efficient request handling and streamlined service integration.
The application is structured into three main components:
- Frontend: Developed with Angular, providing a responsive and dynamic user interface.
- Backend Microservices: Implemented using Seneca, managing business logic and processing.
- API Gateway: Utilizing Express Gateway to route requests between the frontend and backend services.
This architecture ensures a clear separation of concerns, enhancing maintainability and scalability.
- Modular Design: Separation of frontend, backend, and gateway components.
- Scalability: Easily extendable microservices architecture.
- Efficient API Management: Centralized routing and handling of API requests.
- Responsive UI: Dynamic and user-friendly interface built with Angular.
- Frontend: Angular
- Backend: Seneca (Microservices Framework)
- API Gateway: Express Gateway
- Programming Languages: TypeScript, JavaScript
- Version Control: Git
To set up the project locally, follow these steps:
- Clone the Repository:
git clone https://github.com/AkashDeore15/ServerlessApp.git
- Navigate to Project Directory:
cd ServerlessApp - Install Dependencies:
- For the Angular frontend:
cd myapp1 npm install - For the Seneca server:
cd ../SenecaServer npm install - For the Express Gateway server:
cd ../ExpressGatewayServer npm install
- For the Angular frontend:
- Run the Servers:
- Seneca Server:
cd ../SenecaServer npm start - Express Gateway:
cd ../ExpressGatewayServer npm start - Angular Frontend:
cd ../myapp1 ng serve
- Seneca Server:
- Access the Application:
Open your browser and navigate to
http://localhost:4200to view the Angular application.
Once the application is running:
- Frontend: Interact with the Angular-based user interface.
- Backend: Seneca microservices handle API requests and business logic.
- API Gateway: Express Gateway routes requests between the frontend and backend services.
This setup allows for efficient development and testing of the application's features.
Contributions are welcome! To contribute:
- Fork the repository.
- Create a new branch:
git checkout -b feature-name
- Make your changes and commit them:
git commit -m 'Add new feature' - Push to the branch:
git push origin feature-name
- Open a Pull Request.
This project is licensed under the MIT License. See the LICENSE file for details.