Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/tjventurini/strapi-nuxt-setup


https://github.com/tjventurini/strapi-nuxt-setup

Last synced: 10 days ago
JSON representation

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.