joshfarrant / react-workshop-done-list

A 'Done List' for use in React Workshops

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Getting Started

Run the development server:

npm run dev
# or
yarn dev

Missing environment variable.

When you first run the project you may see the following error:

Missing XXX environment variable. See README.md for instructions of how to fix this error.

You can fix this error by doing the following:

  1. Duplicate the .env.default file and name that copy .env.local
  2. Set COLLECTION_NAME to your own name, eg: COLLECTION_NAME=johnSmith
  3. Set DB_BASE_URL to your MongoDB Cloud database URL, eg: DB_BASE_URL=mongodb+srv://username:password@cluster-name.ab123.mongodb.net
  4. Re-run the project and the error should be resolved

About

A 'Done List' for use in React Workshops

License:GNU General Public License v3.0


Languages

Language:TypeScript 80.8%Language:JavaScript 12.8%Language:CSS 6.1%Language:Shell 0.3%