No description
| public | ||
| src | ||
| .dockerignore | ||
| .gitignore | ||
| constants.ts | ||
| css.d.ts | ||
| default.vcl | ||
| docker-compose.yml | ||
| Dockerfile | ||
| entrypoint.sh | ||
| eslint.config.js | ||
| next.config.ts | ||
| package-lock.json | ||
| package.json | ||
| postcss.config.mjs | ||
| README.md | ||
| tailwind.config.ts | ||
| tsconfig.json | ||
| types.d.ts | ||
Frontend
Our frontend is made using ReactJS
TODO: Write more about React and a local development environment
Setting up a development environment
In order to follow these steps you need to install docker on your machine. Here are guides for installation on some common systems:
You will also need docker-compose (it is included in Docker Desktop for Mac and Windows): https://docs.docker.com/compose/install/
Once you have installed the docker-engine and docker-compose on your machine you can follow the following steps in order to set up the development environment:
- Clone git repository.
git@gitlab.login.no:tekkom/web/beehive/frontend.git - Move to the cloned repository.
cd frontend - Change to desired branch.
e.g.git checkout devorgit checkout -b <branch name>for new branch - Start the development server using docker-compose
docker-compose --profile dev up
Docker image options
API_URL sets the location to the public-api. It must have a schema.