Skip to content

nilsfs7/fsmeet-frontend

Repository files navigation

fsmeet-frontend

Donate

FSMeet is free to use and ad-free — built with love for the freestyle family. If you enjoy it, consider supporting with a small donation. Every bit helps keep it running!

Network Donation Address
Bitcoin bc1qe0yujtzhgjqkmnxuta0wtrpme53et9q3st083p
Ethereum (also Gnosis, Base, etc..) 0x3b6F25F4E16F2Dd7208961D60a2934FBc01e2799
Solana 3TxQGtepnYypVYjfaDQHjSydfNnohTWJfMdGvCUMDT9i
Sui 0x4a0102160013f246dea5bca066c454edf0fa0464bf8c5eee6262e2990f313ef9

Getting started for development

Understanding the project structure

  • fonts: Third party fonts that do not come with nextjs by default.
  • messages: All text for visible elements like inputs, dropdowns, headers, etc.
  • public: Directory for static images to be displayed. All images are either purchased or free to use SVGs for commercial usage. Further deatils about their origin down below in Images section of the readme.
  • src: Application source code.
    • src/app: App router directory. Subdirectories with page.tsx files represent routes on the website. Some routes might contain an additional components directory that is used to store local components.
    • src/components: Global components used in multiple routes. If a component is only used for a specific route it is placed within the app router.
    • src/domain: Contains all domain specific definitions like classes, types, enums and constants.
    • src/infrastructure: REST based clients for backend communication. Clients should be imported in routes when wanting to request data.

Prerequisites

The backend

The FSMeet backend is not open sourced but its interface is publicly available and fully documented using Swagger. There are 2 environments to connect to:

The environments do not share any data. A user account on the production system has to be created on dev separately.

Run app

Create environment and adjust the variables to your needs

cp .env.example .env

Install dependencies

yarn install

Start app

yarn dev

Run in Docker

Pull image

docker pull nilsfs7/fsmeet-frontend:latest

or build image

docker buildx build --build-arg COMMIT_SHA=456 -t nilsfs7/fsmeet-frontend:latest .

Execute container

docker run -d -p 3001:3001 -e NEXT_PUBLIC_BACKEND_URL="http://localhost:3000" --rm --name fsmeet-frontend nilsfs7/fsmeet-frontend:latest

or execute container on boot

docker run -d -p 3001:3001 -e NEXT_PUBLIC_BACKEND_URL="http://localhost:3000" --restart always --name fsmeet-frontend nilsfs7/fsmeet-frontend:latest

Manual testing

Create a release

# patch version
yarn run release:patch

# minor / feature version
yarn run release:minor

# major version
yarn run release:major

Component Library

Content

Fonts

Images

All third party images and their source are listed here.

About

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •  

Languages