Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/suizer98/weddinginvitation
Simple wedding invitation ecard demonstrated by light weights full stacks development (web tier, app tier, database tier)
https://github.com/suizer98/weddinginvitation
antdesign docker fastapi heroku postgresql python reactjs render typescript vite
Last synced: 5 days ago
JSON representation
Simple wedding invitation ecard demonstrated by light weights full stacks development (web tier, app tier, database tier)
- Host: GitHub
- URL: https://github.com/suizer98/weddinginvitation
- Owner: Suizer98
- Created: 2023-12-20T05:06:37.000Z (11 months ago)
- Default Branch: main
- Last Pushed: 2024-08-16T15:02:02.000Z (3 months ago)
- Last Synced: 2024-08-16T16:33:03.030Z (3 months ago)
- Topics: antdesign, docker, fastapi, heroku, postgresql, python, reactjs, render, typescript, vite
- Language: TypeScript
- Homepage: https://suizerlyciawedding.netlify.app/
- Size: 300 MB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Wedding Invitation App
Tech Stack: Netlify, Vite, React TS, Ant Design, Render container (previously Heroku container), Python FastAPI, Render PostgreSQL, Telegram Bot
![Tech stacks](https://skillicons.dev/icons?i=vite,ts,react,fastapi,python,docker,ubuntu,bash,heroku,netlify,postgres)
Frontend: https://suizerlyciawedding.netlify.app/
Backend: Render free instance Docker web service (Shut down when inactive)
Database: Render free tier PostgreSQL (Shut down when inactive)
Alert Bot: Telegram BotFather (As a notifer and backup)
## Local Development
### To install all dependencies from `package.json`
If you have `nvm` or `npm` available, simply run:
```
npm install
```
### Docker containerIf you are Docker euthanist, have Docker Desktop on your end:
```
docker-compose up --build
```### Runs the app in the development mode
```
npm start
```
```
docker-compose up # provided you have Docker installed
```Open [http://localhost:3000](http://localhost:3000) to view it in the browser.
### To fix format lintings for all codes using `prettier`
Usual terminal commands such as:
```
npm run format
```OR
```
docker exec -it weddinginvitation npm run format
```## Staging environment (Heroku, Render...)
### Set Heroku default stack as free container
```
heroku login
heroku stack:set heroku-22 -a szlyciawedding
```
Note: This website is now migrated to `Netlify`### Create Render Docker web service
Refer to [backend](https://github.com/Suizer98/weddingbackend)### Staging website configuration
https://app.netlify.com/sites/suizerlyciawedding/overviewhttps://dashboard.render.com/web/srv-cnsllki1hbls73fsh060
https://dashboard.render.com/d/dpg-cpk09cf109ks73etk9ng-a