Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/ginabeki/automation-demo-project


https://github.com/ginabeki/automation-demo-project

Last synced: about 1 month ago
JSON representation

Awesome Lists containing this project

README

        

# πŸš€Github Actions Automation Demo
A demonstration of automated workflow implementation using GitHub Actions, featuring continuous integration and deployment with Vercel.

## 🎯 Overview
This project demonstrates:

- Automated testing and deployment using GitHub Actions
- Continuous Integration (CI) with automated tests
- Continuous Deployment (CD) to Vercel
- Express.js API with automated testing

## πŸ› οΈ Tech Stack

- Node.js
- Express.js
- Jest (Testing)
- GitHub Actions
- Vercel (Deployment)

## πŸ“‹ Prerequisites
Before you begin, ensure you have:

- Node.js (v18 or higher)
- npm (comes with Node.js)
- A GitHub account
- A Vercel account (free tier works)

## πŸš€ Quick Start

Clone the repository
``` bash
git clone https://github.com/ginabeki/automation-demo-project.git
cd automation-demo-project
```
**Install dependencies**
```bash
npm install
```
**Run locally**
```bash
npm run dev
```
**Run tests**
```bash
npm test
```
## πŸ”„ CI/CD Pipeline
This project implements a complete CI/CD pipeline:
**Continuous Integration**
- Automated testing on push
- Code quality checks
- Dependency installation verification

**Continuous Deployment**
- Automatic deployment to Vercel
- Production and preview deployments
- Secure token handling

## πŸ§ͺ Testing

Run the test suite using these commands:

```bash
# Run tests
npm test

# Run tests with coverage
npm run test:coverage
```

## πŸ“¦ Deployment
The project automatically deploys to Vercel when:

- Code is pushed to main branch
- Pull requests are merged to main

## πŸ“„ License
This project is licensed under the MIT License - see the LICENSE file for details.
πŸ‘₯ Author
- Gina Beki

- GitHub: @ginabeki
- LinkedIn: ginabeki

## πŸ™ Acknowledgments

- [GitHub Actions documentation](https://docs.github.com/en/actions)
- [Vercel deployment guides](https://vercel.com/docs/deployments/overview)
- [Express.js community](https://expressjs.com/en/starter/installing.html)