Skip to content

Dinalrn/Projet_LO10

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Simple Micro Service Architecture

Backend : Python Frontend : NextJS Database : PostgreSQL

Architecture : Docker compose Production : Docker swarm

Service : API, PostgreSQL, Adminer, NextJs web app.

To launch the the Docker network go to ARCHITECTURE/docker/README.md for documentation.

To access the API web interface go to : http://localhost:8000

To access the Vercel frontend go to : http://localhost:3000/pages

To access the Database use adminer via : http://localhost:8080

The secrets are given inside the docker-compose file in ARCHITECTURE/docker/compose.dev.yaml => The server name is the docker service name.

This is a template feel free to adapt it to your need; Some simple advise to start, create a .env file to enter secrets and open them inside the BACKEND_API/configuration.py file.

For the frontend I advise you to browse the Vercel template to copy one for a good start.

For production uses the prod.Dockerfile for the frontend and not the dev.Dockerfile.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages

  • Python 75.3%
  • TypeScript 14.8%
  • Dockerfile 6.0%
  • JavaScript 2.1%
  • CSS 1.8%