Skip to content

Kiesen/gruppettoruhr

Repository files navigation

gruppettoruhr.cc

This is the official repository of the gruppettoruhr cycling club. Feel free to contribute and enhance the website with more features that help our club, especially our members. If you want to contribute, please follow the official contribution guidelines.

Development environment

This section should help you to set up a local development environment with a running instance of the gruppettoruhr.cc website.

Prerequisites

The environment might run with other LTS or major version releases of node and npm, but the following versions are recommended to avoid issues.

  • node ^14.0.0
  • npm ^6.14.9

Installation of project dependencies

If you fulfil the prerequisites you should be able to install the development dependencies with the following command:

npm install

The development dependencies are needed to bootstrap the project packages (e.g. website/backend). It is worth mentioning that we are using lerna to manage multiple independent node projects inside one repository. After a successful installation you should be able to install the package dependencies with the following command:

npm run bootstrap

Start of the development server

After you have successfully installed all dependencies, you should be able to start a development server with the following command:

npm run start

The server will run on port 3000, and you can reach the frontend at localhost:3000.

Where to start

The projects is split into two parts:

  1. Frontend - contains the website/frontend
  2. Backend - contains a headless CMS

Depending on your idea/implementation you might need to update/add code in both packages.

Frontend

The frontend makes use of the next.js framework, which bundles node.js and react.js together to let you easily use techniques like server-side rendering. To make use of all features next.js provides, the folder structure and configuration must strictly match the next.js guidelines and requirements. A good place to start is the pages folder inside the website package, which lets you easily add a new page.

Backend

In progress

Contributing

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

Please make sure to update tests and the documentation as appropriate.

Authors

  • Frederik Aulich - Initial work - Kiesen

License

This project is licensed under the MIT license - for details take a look at LICENSE.md

About

This repository contains the source code for the web application of the gruppettoruhr cycling club

Topics

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors