Skip to content

CharlesAD/Test-Practise

Repository files navigation

Node Starter

Update: A pnpm-lock.yaml file was added to the root of the project. If possible use pnpm over npm. You might like it better. See the docs 📝 if interested. If not, delete this file.

TLDR

Use of this starter template assumes that you have a 'complete dev environment' setup - a terminal, Node, VS Code, at least. If not, you may want to start here.

  1. Click that big green button to start using it.
  2. clone your new repo from your GitHub to your local computer
  3. cd into the cloned repo and enter: npm i.
  4. npm start

Some of What's Included

  • code style: prettier
  • Various VS Code 'settings' and 'extensions.' Look in the bottom right when you open this up in VS Code to install them.
  • Jest for testing: npm test. It's using BabelJS so Jest can handle ESModules.

How To Use

Run npm i to get all the things installed.

npm start will watch the app directory for any changes using nodemon

Other Notes

To use the new experimental fetch that's now in Node, just add: /* global fetch */ to the top of your file. This will appease ESLint.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors