Skip to content

CharlotteS34/react-workshop-done-list

 
 

Repository files navigation

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

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages

  • TypeScript 71.9%
  • JavaScript 16.7%
  • CSS 10.9%
  • Shell 0.5%