mirror of
https://github.com/Sendouc/sendou.ink.git
synced 2026-09-26 05:12:19 -05:00
6cd5225ceb1e18bfccafb9d63e050cb4e5f6ec66
Note: This is the WIP Splatoon 3 version of the site. To see the current live version checkout the main branch
Running locally
Prerequisites: nvm
There is a sequence of commands you need to run:
nvm useto switch to the correct Node version.npm ito install the dependencies.- Make a copy of
.env.examplethat's called.envand fill it with values. npm run migrateto set up the database tables.npm run devto run both the server and frontend.
Project structure
sendou.ink/
├── app/
│ ├── components/ -- React components
│ ├── core/ -- Core business logic
│ ├── db/ -- Database layer
│ ├── hooks/ -- React hooks
│ ├── routes/ -- Routes see: https://remix.run/docs/en/v1/guides/routing
│ ├── styles/ -- All .css files of the project for styling
│ ├── utils/ -- Random helper functions used in many places
│ └── permissions.ts / -- What actions are allowed. Separated by frontend and backend as frontend has constraints based on what user sees.
├── migrations/ -- Database migrations
├── cypress/ -- see: https://docs.cypress.io/guides/core-concepts/writing-and-organizing-tests#Folder-structure
├── public/ -- Images, built assets etc. static files to be served as is
└── scripts/ -- Stand-alone scripts to be run outside of the app
Description
Languages
TypeScript
93.6%
CSS
4.5%
JavaScript
1.9%