This repository contains the source code for https://confessit.app.
We welcome anyone who would like to contribute to this project. Please see our code of conduct for more information. And feel free to get in touch by starting a discussion or commenting on an issue here on GitHub.
- We highly recommend using nvm to manage your Node installation. See the nvm Installation Instructions. We have a
.nvmrcchecked in, so runningnvm installin this project directory after setting up nvm will ensure the correct Node version is installed. - We use NPM to manage our dependencies. Install the project dependencies with
npm install. - Run
npm run devto build the project and run the development server. You can kill the server withCTRL-Cand restart it any time withnpm run devagain.
This project is a progressive web app Astro app with React. Reading the React and Astro docs will help you get started if you're not already familiar with these frameworks. We use TailwindCSS with DaisyUI as our CSS framework and Paraglide JS for translations.
See CONTRIBUTING for more information about how to contribute to the development of ConfessIt.
We use Paraglide JS for i18n (Astro Instructions), via the i18next plugin for compatibility with our translation files.
All commands are run from the root of the project, from a terminal:
| Command | Action |
|---|---|
npm install |
Installs dependencies |
npm run dev |
Starts local dev server at localhost:4321 |
npm run build |
Build your production site to ./dist/ |
npm run preview |
Preview your build locally, before deploying |
npm run astro ... |
Run CLI commands like astro add, astro check |
npm run astro -- --help |
Get help using the Astro CLI |
We want to support more languages, and welcome translation additions and improvements! See CONTRIBUTING for more information about how to add or improve a translation to a different language.
Our main branch is continuously deployed via Netlify. Simply merge to main and the site will be updated.
You can learn more in the Astro documentation.
To learn React, check out the React documentation.
For styling, see the TailwindCSS and DaisyUI documentation.
We're also using Swiper for the swipable columns.
The app is deployed to https://confessit.app, hosted on Netlify.