Skip to content

runtimerevolution/revent-app

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

42 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

REVENT APP

This README will get you started and guide you through the project

Description

Photo contest APP is a Next.js app for the Runtime Revolution photo contest that takes place every month and aims to allow a fair and easy voting for all participants. It works with the Photo contest API.

Table of Contents

Setup

Env

Copy .env.local.sample to .env.local

cp .env.local.sample .env.local

Pre-commit

Install pre-commit

brew install pre-commit

Install the project's pre-commit hooks

pre-commit install # or pre-commit install -f to overwrite existing hooks

Node

Install nvm

brew install nvm

echo 'export NVM_DIR="$HOME/.nvm"' >> ~/.zshrc
echo '[ -s "/opt/homebrew/opt/nvm/nvm.sh" ] && \. "/opt/homebrew/opt/nvm/nvm.sh"' >> ~/.zshrc
echo '[ -s "/opt/homebrew/opt/nvm/etc/bash_completion.d/nvm" ] && \. "/opt/homebrew/opt/nvm/etc/bash_completion.d/nvm"' >> ~/.zshrc

Install the project's node version

nvm install
nvm use

Scripts

The basic npm scripts for a next.js app:

npm install # Install dependencies
npm run dev # Run next.js in development mode
npm run test # Run the tests
npm run build # Generate production build
npm run start # Run the app in production mode (requires build 1st)

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published