Real-Dev-Squad / website-goals

All the goals that make you better each day!

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

goals-site

Pre Requisite

  • Install volta
  • Install yarn
volta install yarn

Setup

  • Install local dependencies
yarn
  • Copy enviroment variables

Create a new file .env at root level and copy its content from .env.example

Local Development

With Staging backend-goals

You don't need to have backend-goals run locally

  • Run development command
yarn dev

With Local backend-goals

Connect to local backend-goals

  • Go to .env
  • Set your NUXT_PUBLIC_GOAL_API value to http://localhost:8000/api (or a url of the backend-goals you want to connect to)

It should look something like this -

NUXT_PUBLIC_GOAL_API='http://localhost:8000/api'
  • Restart the server

Production Setup

  • Generate the static content
yarn run generate
  • The output is generated in .output directory

About

All the goals that make you better each day!

License:MIT License


Languages

Language:TypeScript 53.4%Language:Vue 41.6%Language:JavaScript 5.0%