https://github.com/alxgb5/webfullstack
Course project with docker containers of a NextJS app, a component library, a PHP API, an API in Python and an Electron app
https://github.com/alxgb5/webfullstack
docker electron nextjs npm-package php python
Last synced: 2 months ago
JSON representation
Course project with docker containers of a NextJS app, a component library, a PHP API, an API in Python and an Electron app
- Host: GitHub
- URL: https://github.com/alxgb5/webfullstack
- Owner: alxgb5
- Created: 2022-11-24T10:38:09.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2023-01-20T11:14:28.000Z (over 3 years ago)
- Last Synced: 2025-06-16T06:47:04.268Z (about 1 year ago)
- Topics: docker, electron, nextjs, npm-package, php, python
- Language: TypeScript
- Homepage:
- Size: 4.82 MB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
## Description
Groupe : **Avagliano Enzo**, **Brun-Giglio Alexandre**, **Castaner Antony**
Projet commencé de zéro !
## Avec Docker
```bash
cd proxy
npm i
cd ..
docker-compose up -d
# User service
docker-compose exec user bash
cp .env.exemple .env
php bin/console lexik:jwt:generate-keypair
composer install
php bin/console doctrine:migrations:migrate
php bin/console doctrine:fixtures:load
exit
# Car service
docker-compose exec car python3 fixtures.py
```
## Installation
```bash
$ npm install
```
```bash
$ npm run lib:init
```
## Run Vitrine
```bash
$ cd vitrine
```
```bash
$ npm run dev
```
## Run Storybook
```bash
$ cd my-lib-ui
```
```bash
$ npm run storybook
```
## Run Electron
```bash
$ cd electron
$ npm i --registry https://registry.npmjs.org
$ cd ..
$ npm run lib:init
```
## Run Jest Testing
```bash
$ cd my-lib-ui
```
```bash
$ npm run test
```
## Initiatives :
- [x] RegEXP sur les email / phone input
- [x] Composant select fait à la main (à la manière Material UI)
- [x] Propriétés onClick et onChange disponnible sur tout les inputs
- [x] Script pour l'installation de lib et la mise à jours de la lib pour yalc.
- [x] Tests unitaires sur les composants