Skip to content

# Standard Strapi 4 & Nuxt 3 project. It includes: - Full docker compose setup for local development. - Single Dockerfile to build both frontend & api images. - GraphQL codegen to generate types from the Strapi GraphQL api.

License

Notifications You must be signed in to change notification settings

itsgaurav001/nuxt_ts_graphql_boilerplate

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Standard Strapi 4 & Nuxt 3 project.

It includes:

  • Full docker compose setup for local development.

  • Single Dockerfile to build both frontend & api images.

  • GraphQL codegen to generate types from the Strapi GraphQL api.

Commands needed:

Install Frontend Dependencies

docker compose run --rm frontend yarn

Install API Dependencies

docker compose run --rm strapi yarn

Make sure the API RUNS:

docker compose up strapi

Generate Frontend Types (after every change in your graphql queries)

docker compose run --rm frontend yarn generate-types

Run the full project

docker compose up

Where to access apps

Frontend

localhost:3000

Strapi

localhost:1337

Strapi Graphql playground:

localhost:1337/graphql

About

# Standard Strapi 4 & Nuxt 3 project. It includes: - Full docker compose setup for local development. - Single Dockerfile to build both frontend & api images. - GraphQL codegen to generate types from the Strapi GraphQL api.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published