Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/tjventurini/strapi-nuxt-setup
https://github.com/tjventurini/strapi-nuxt-setup
Last synced: 10 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/tjventurini/strapi-nuxt-setup
- Owner: tjventurini
- Created: 2024-03-29T22:29:03.000Z (8 months ago)
- Default Branch: master
- Last Pushed: 2024-06-15T11:23:02.000Z (5 months ago)
- Last Synced: 2024-06-15T12:37:19.684Z (5 months ago)
- Language: TypeScript
- Size: 316 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Strapi & Nuxt Setup
This project sets up a Strapi backend with a Nuxt frontend. Strapi is used to manage and serve content via a REST API. Nuxt is used to consume that content and render it on the frontend. The two are connected together to create a full stack application.
## 🚀 Setup
### Setup for new project
Run these commands if you want to create a new project using this setup.```bash
bash -c "$(wget -qO- https://raw.githubusercontent.com/tjventurini/strapi-nuxt-setup/main/remote-setup.sh)"
make init-prod
```### Setup for development
```bash
git clone [email protected]:tjventurini/strapi-nuxt-setup.git
make init
```## 🧰 Makefile
The Makefile provides commands to manage the Docker environment:
- `make init` - Initialize the development environment by copying .env.example to .env and linking the local docker-compose file.
- `make init-prod` - Initialize the production environment by copying .env.example to .env and linking the production docker-compose file.
- `make up` - Start the Docker containers in the background.
- `make down` - Stop and remove the Docker containers.
- `make build` - Build the Docker images without using cache.
- `make restart` - Restart the Docker containers.
- `make tail` - View and follow the container logs.