Skip to content

Let's build the Future of Open Source Development with Web3 πŸ¦„

Notifications You must be signed in to change notification settings

feature-sh/website

Folders and files

NameName
Last commit message
Last commit date

Latest commit

993d397 Β· Dec 17, 2024
Dec 11, 2024
Sep 18, 2024
Feb 27, 2023
Feb 18, 2022
Feb 24, 2023
Aug 31, 2024
Dec 17, 2024
Feb 18, 2022
Mar 4, 2023
Feb 16, 2022
Feb 18, 2022
May 11, 2023
Jul 7, 2022
Jun 26, 2022
Feb 23, 2023
Feb 17, 2022
Dec 11, 2024
Feb 16, 2022
Feb 16, 2022
Jul 16, 2023
Feb 16, 2022
Feb 16, 2022
Feb 16, 2022
Feb 16, 2022
Dec 11, 2024
Dec 11, 2024
Feb 16, 2022
Feb 16, 2022
Feb 24, 2023
Jun 26, 2022

Repository files navigation

FEATURE

The front-end for FEATURE.sh, built with NextJS and TailwindCSS.

Development

Docker

A development Dockerfile has been set up to ease the development process. One can execute the following script to build and run an instance of the dev container:

npm run docker-dev

# OR, if using yarn

yarn docker-dev

The app directory is bind mounted inside the container in development, which means that every change made on the host also impacts the running container.

Bare metal

Install dependencies and start the dev server as follows:

npm install && npm run dev

# OR, if using yarn

yarn install && yarn dev

Production

Docker

A production Dockerfile has been created to easily deploy the app. To build and run an instance of the production image, execute the docker-prod node script:

npm run docker-prod

# OR, if using yarn

yarn docker-prod

Bare metal

Install dependencies, build, and start the production server as follows:

npm install && npm run build && npm run start

# OR, if using yarn

yarn install && yarn build && yarn start

Format codebase

The codebase is formatted using the prettier tool. Issuing the command npm run format or yarn format will make use of the local installation of prettier to format the entire codebase.

Internationalization

Internationalized routing is handled natively by NextJS through sub-path routing.

Management of translations is done with the next-i18next library. Supported locales can be found inside the public/locales directory. Translations are stored inside different .json files commonly referred as translation namespaces. stored inside different .json files commonly referred as translation namespaces.