Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/trialanderrororg/websites
Monorepo for many of the *.trialanderror.org websites
https://github.com/trialanderrororg/websites
astro blog job-board monorepo nextjs nx open-science strapi typescript
Last synced: 3 months ago
JSON representation
Monorepo for many of the *.trialanderror.org websites
- Host: GitHub
- URL: https://github.com/trialanderrororg/websites
- Owner: TrialAndErrorOrg
- License: gpl-3.0
- Created: 2021-12-28T21:20:04.000Z (about 3 years ago)
- Default Branch: main
- Last Pushed: 2024-04-02T14:48:39.000Z (10 months ago)
- Last Synced: 2024-04-02T15:58:14.294Z (10 months ago)
- Topics: astro, blog, job-board, monorepo, nextjs, nx, open-science, strapi, typescript
- Language: TypeScript
- Homepage: https://blog.trialanderror.org
- Size: 50.5 MB
- Stars: 8
- Watchers: 1
- Forks: 0
- Open Issues: 29
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Center of Trial & Error
Monorepo used for creating https://trialanderror.org
## Structure
Most important are the three main applications
- `apps/frontend` - the actual Next.js website
- `apps/strapi` - the Strapi backend
- `apps/blog` - the Astro blogThe rest is just a bunch of packages that are used by the two main applications.
## Development
### Environment variables
The following environment variables are required for the frontend:
- `NEXT_PUBLIC_STRAPI_URL` - the URL of the Strapi backend
-### Running
To start, you need to have the strapi instance running.
```bash
yarn
cd apps/strapi
yarn
yarn develop
```Then you can start the main website in another terminal.
```bash
nx serve frontend
```which will open up the website at http://localhost:4200
Or you can start the blog.
```bash
nx dev blog
```which will open up the blog at http://localhost:3000
TODO: Figure out a way to seed the database with some initial data without having to manually create it in the admin panel or using the production database.
### Frontend