Skip to content

Zeusstorm/mean-devops-assignment

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 

Repository files navigation

In this DevOps task, you need to build and deploy a full-stack CRUD application using the MEAN stack (MongoDB, Express, Angular 15, and Node.js). The backend will be developed with Node.js and Express to provide REST APIs, connecting to a MongoDB database. The frontend will be an Angular application utilizing HTTPClient for communication.

The application will manage a collection of tutorials, where each tutorial includes an ID, title, description, and published status. Users will be able to create, retrieve, update, and delete tutorials. Additionally, a search box will allow users to find tutorials by title.

Project setup

Node.js Server

cd backend

npm install

You can update the MongoDB credentials by modifying the db.config.js file located in app/config/.

Run node server.js

Angular Client

cd frontend

npm install

Run ng serve --port 8081

You can modify the src/app/services/tutorial.service.ts file to adjust how the frontend interacts with the backend.

Navigate to http://localhost:8081/

About

End-to-end DevOps implementation of a full-stack MEAN application using Docker, Docker Compose, GitHub Actions CI/CD, Nginx reverse proxy, and Ubuntu cloud deployment.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors