Go to file
Sam 6c9ebf1d08 feat: bundle frontend with API executable 2022-06-17 00:00:52 +02:00
backend feat: bundle frontend with API executable 2022-06-17 00:00:52 +02:00
frontend feat: bundle frontend with API executable 2022-06-17 00:00:52 +02:00
scripts feat(frontend): start edit page 2022-05-26 16:11:22 +02:00
.gitignore feat: bundle frontend with API executable 2022-06-17 00:00:52 +02:00
.prettierrc add frontend template + GET /users/{userRef} route 2022-05-04 16:27:16 +02:00
LICENSE initial commit 2022-05-02 17:19:37 +02:00
Makefile feat: bundle frontend with API executable 2022-06-17 00:00:52 +02:00
README.md feat: bundle frontend with API executable 2022-06-17 00:00:52 +02:00
go.mod feat(api): add rate limiting 2022-05-26 00:41:29 +02:00
go.sum feat(api): add rate limiting 2022-05-26 00:41:29 +02:00
package.json feat(frontend): start edit page 2022-05-26 16:11:22 +02:00
postcss.config.js feat: frontend layout skeleton 2022-05-10 16:33:29 +02:00
tailwind.config.js feat: add (non-working) edit page 2022-05-14 16:46:03 +02:00
tsconfig.json add frontend template + GET /users/{userRef} route 2022-05-04 16:27:16 +02:00
tsconfig.node.json add frontend template + GET /users/{userRef} route 2022-05-04 16:27:16 +02:00
vite-env.d.ts feat: frontend layout skeleton 2022-05-10 16:33:29 +02:00
vite.config.ts feat: bundle frontend with API executable 2022-06-17 00:00:52 +02:00
yarn.lock feat(frontend): start edit page 2022-05-26 16:11:22 +02:00

README.md

pronouns.cc

A work-in-progress site to share your pronouns and preferred terms.

Stack

  • API server is written in Go with the chi router
  • Persistent data is stored in PostgreSQL
  • Temporary data is stored in Redis
  • The frontend is written in TypeScript with React, using Vite

Development

Note that

Building

Run make all. This will build the frontend, then embed that in the backend.

The resulting pronouns binary is a statically linked executable containing everything needed to run the website.
Note that it should still be run behind a reverse proxy for TLS.

License

Copyright (C) 2022  Sam <u1f320>

This program is free software: you can redistribute it and/or modify
it under the terms of the GNU Affero General Public License as published
by the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.

This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
GNU Affero General Public License for more details.

You should have received a copy of the GNU Affero General Public License
along with this program.  If not, see <https://www.gnu.org/licenses/>.