Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/aggutierrez98/todo-app-monorepo
https://github.com/aggutierrez98/todo-app-monorepo
cypress expressjs mongodb nodejs react react-hook-form react-query
Last synced: about 1 month ago
JSON representation
- Host: GitHub
- URL: https://github.com/aggutierrez98/todo-app-monorepo
- Owner: aggutierrez98
- Created: 2022-02-27T02:40:11.000Z (almost 3 years ago)
- Default Branch: main
- Last Pushed: 2023-01-17T18:48:31.000Z (almost 2 years ago)
- Last Synced: 2023-03-10T15:59:26.711Z (almost 2 years ago)
- Topics: cypress, expressjs, mongodb, nodejs, react, react-hook-form, react-query
- Language: JavaScript
- Homepage: https://todo-app-monorepo.fly.dev
- Size: 865 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Todo App
[![Deplyment Pipeline](https://github.com/aggutierrez98/todo-app-monorepo/actions/workflows/pipeline.yml/badge.svg)](https://github.com/aggutierrez98/todo-app-monorepo/actions/workflows/pipeline.yml)
This repository is a monorepo that contains both front-end and back-end directory whose dependencies are shared with the main directory.
The main directory has Prettier, Eslint and Husky configurations## Made with
React, Node, MongoDB, Mongoose, Vite, Tailwind, React-hook-form, React-query and Cypress
### Made by: Agustin Gutierrez
## In this app you can add, edit, delete, do and undo todos
## Scripts
```json
"scripts": {
"lint": "eslint ./api ./app --fix",
"prettier": "prettier --write .",
"prepare": "husky install",
"dev:api": "npm run build && npm run dev -w api",
"dev:app": "npm run dev -w app",
"build": "npm run build -w app",
"start": "npm run start -w api",
"cypress": "npm run cypress:open -w app",
"start-test": "npm run test -w api",
"test:e2e": "npm run test:e2e -w app"
},
```## Installation & Set Up
1. Install project dependecies
```sh
npm install
```2. Start the client development server
```sh
npm dev:app
```3. Start the api development server
```sh
npm dev:api
```4. Start the client development server
```sh
npm dev:app
```## For automated testing
1. Prepare and start server for testing
```sh
npm run start-test
```2. Run tests with cypress
```sh
npm run cypress
```3. If you want headless tests
```sh
npm run test:e2e
```## Deployment
Deployment is automated with Github Actions in a general monorepo deployment pipeline.
### Demo
[Todo App](https://todo-app-monorepo.fly.dev)