Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/azshurith/dockerized-nuxt-express
This repository contains a Docker environment for NuxtJS applications utilizing ExpressJS for streamlined development and deployment.
https://github.com/azshurith/dockerized-nuxt-express
docker docker-compose expressjs mysql nodejs nuxtjs prisma typescript vue3 vuejs vuetify
Last synced: 25 days ago
JSON representation
This repository contains a Docker environment for NuxtJS applications utilizing ExpressJS for streamlined development and deployment.
- Host: GitHub
- URL: https://github.com/azshurith/dockerized-nuxt-express
- Owner: Azshurith
- Created: 2024-07-11T13:29:15.000Z (6 months ago)
- Default Branch: main
- Last Pushed: 2024-07-11T13:38:33.000Z (6 months ago)
- Last Synced: 2024-12-22T02:15:14.862Z (25 days ago)
- Topics: docker, docker-compose, expressjs, mysql, nodejs, nuxtjs, prisma, typescript, vue3, vuejs, vuetify
- Language: Vue
- Homepage:
- Size: 214 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# 🌟 Dockerized Nuxt + ExpressJS 🐋🌟
[![License](https://img.shields.io/badge/license-GNU-blue.svg)](https://github.com/Azshurith/Dockerized-Laravel-Environment-Artisan/blob/main/LICENSE)
This repository contains a Docker environment for Nuxt.js applications utilizing Express.js for streamlined development and deployment.
## 🛠️ Makefile Commands
```makefile
project_start Starts the Project
project_stop Stops the Project
server_deploy Deploys to the Express.js server
prisma_pull Pull the database schema using Prisma
prisma_generate Generate Prisma client
```## 📝 Environment Variables (.env)
Ensure to set up your environment variables in the .env file.
```dotenv
# Docker Project
PROJECT_NAME=nuxt
PROJECT_VERSION=1.0# MariaDB Configurations
MARIADB_CONNECTION=mysql
MARIADB_HOST=host.docker.internal
MARIADB_PORT=3306
MARIADB_DATABASE=maria
MARIADB_USERNAME=maria
MARIADB_PASSWORD=maria
MARIADB_DOCKERFILE=.docker/MariaDB
MARIADB_URL=${MARIADB_CONNECTION}://${MARIADB_USERNAME}:${MARIADB_PASSWORD}@${MARIADB_HOST}:${MARIADB_PORT}/${MARIADB_DATABASE}# PhpMyAdmin Configurations
PHPMYADMIN_DOCKERFILE=.docker/PhpMyAdmin
PHPMYADMIN_PORT=9090
PHPMYADMIN_PORT_MAP=80
PHPMYADMIN_PMA_HOST=MariaDB# Node Configurations
NODE_DOCKERFILE=.docker/Node
NODE_CLIENT_PORT=9091
NODE_CLIENT_DIRECTORY=./Client
NODE_CLIENT_WORK_DIRECTORY=/var/client
NODE_SERVER_PORT=9092
NODE_SERVER_DIRECTORY=./Server
NODE_SERVER_WORK_DIRECTORY=/var/server
```
## 🚀 Getting Started### Prerequisites 🛠️
- Docker: Install Docker on your system if you haven't already. You can download it [here](https://www.docker.com/get-started).
### Installation 📦
**Setting up Laravel from your Git Repository**
1. Set up your environment variables in the .env file.
2. Run `make project_start` to start the Docker environment.
3. Access your PhpMyAdmin at http://localhost:9090/.
4. Access your Nuxt Application at http://localhost:9091/.
5. Access your ExpressJS API at http://localhost:9092/.## Contributing 🤝
Contributions are welcome! If you'd like to contribute to this project, please follow the [Contributing Guidelines](CONTRIBUTING.md).
## License 📝
This project is licensed under the GNU GENERAL PUBLIC LICENSE - see the [LICENSE](LICENSE) file for details.
## Acknowledgments 🙏
Special thanks to the open-source community for their valuable contributions and inspiration.
## Contact 📧
For questions or feedback, please feel free to reach out:
- GitHub: [Devitrax](https://github.com/Azshurith)
Made with ❤️ by Devitrax