Competitive Splatoon Platform
Go to file
2022-05-24 21:14:42 +03:00
.github User page initial with SQLite3 (#822) 2022-05-16 17:52:54 +03:00
app Prompt user to log in if accessing plus logged out 2022-05-24 21:14:42 +03:00
cypress Cypress test with new mock auth 2022-05-24 19:42:26 +03:00
migrations Plus Server DB migration 2022-05-22 10:40:33 +03:00
public Avatar placeholder if no discordAvatar set 2022-05-24 19:34:49 +03:00
scripts PlusSuggestions seed 2022-05-22 11:53:09 +03:00
.env.example User page initial with SQLite3 (#822) 2022-05-16 17:52:54 +03:00
.eslintrc.js Find suggestions database logic 2022-05-22 20:54:23 +03:00
.gitignore User page initial with SQLite3 (#822) 2022-05-16 17:52:54 +03:00
.nvmrc User page initial with SQLite3 (#822) 2022-05-16 17:52:54 +03:00
.prettierignore User page initial with SQLite3 (#822) 2022-05-16 17:52:54 +03:00
.stylelintrc.json Stylelint allow -webkit-backdrop-filter 2022-03-07 00:39:40 +02:00
cypress.json Cypress with user page test 2022-05-17 19:50:05 +03:00
LICENSE User page initial with SQLite3 (#822) 2022-05-16 17:52:54 +03:00
package-lock.json PlusSuggestions seed 2022-05-22 11:53:09 +03:00
package.json PlusSuggestions seed 2022-05-22 11:53:09 +03:00
README.md User page initial with SQLite3 (#822) 2022-05-16 17:52:54 +03:00
remix.config.js User page initial with SQLite3 (#822) 2022-05-16 17:52:54 +03:00
remix.env.d.ts Remix starter 2021-11-23 18:54:52 +02:00
tsconfig.json Cypress with user page test 2022-05-17 19:50:05 +03:00

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:

  1. nvm use to switch to the correct Node version.
  2. npm i to install the dependencies.
  3. Make a copy of .env.example that's called .env and fill it with values.
  4. npm run migrate to set up the database tables.
  5. npm run dev to 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
├── 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