This is the backend service for an Angular-based dashboard application. The backend is responsible for serving API endpoints and handling data processing tasks for the frontend. To see the frontend repository, click here.
- RESTful API endpoints
- Data processing
- Integration with Frontend
- Node.js and npm
- Docker (for local development)
git clone https://github.com/your-username/your-backend-app.git
cd your-backend-app
npm install
npm start
The backend service will start and listen for incoming requests on the specified port.
-
Navigate to the Location of Dockerfile: Navigate to the folder where the backend Dockerfile is located.
-
Build and Tag the Images: Build the Docker image for the backend locally, which will package your application along with all its dependencies.
docker build -t backend-image:latest .
-
Run the Docker Container Locally: After the image is built, run it as a container locally. Replace
:latest
with your preferred tag if needed.docker run -p 8081:8081 backend-image:latest
This will run the backend service on
http://localhost:8081
.
- Google Cloud SDK
- GCP account with App Engine enabled
- Authenticate with Google Cloud: Run
gcloud auth login
. - Navigate to your project's App Engine Dashboard in the GCP Console.
- Set up a Cloud Build trigger pointing to your GitHub repository.
- Configure the build to deploy to App Engine upon a successful build.
Feel free to fork the repository and make changes. Pull requests are warmly welcome.
This project is open-sourced under the MIT License. See the LICENSE.md file for details.