Skip to content

A template for a Node, Express, React and TypeScript (progressive web) app. Can easily be used as full-stack by adding a database.

License

Notifications You must be signed in to change notification settings

MeloknightIX/NERd.ts_template

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

NERd.ts_template

Node, Express, React and a database solution of your choice – all in TypeScript!

Using the Template

Initialisation

  1. Click "use this template" and "create a new repository", then fill out the initialisation form.
  2. In your new repo in the browser, tap "Code" and copy the URL.
  3. In a terminal, navigate to the folder that should contain your project (the one above the root folder) and, using the copied URL, type:
    git clone https://github.com/[username]/[projectName].git
  4. Navigate to the project's root folder and then install all dependencies using:
    cd backend && npm install && cd ../frontend && npm install
  5. Edit frontend/public/manifest.json and frontend/public/index.html to suit your project
  6. Add all files (except gitignored) and push initial commit:
    cd ../ && git add . && git commit -m "initial commit" && git push

Scripts

(run from project root)

Develpment
  • cd backend && npm run dev
  • cd frontend && npm run dev
Production
cd frontend && npm run build && cd ../backend && npm run start

Posting Issues

Feel free to post notices on any errors or bugs, if you encounter them.
I'm also open to improvement suggestions, although I can't promise I will work on them as I'm only supporting this template as a hobby.

About

A template for a Node, Express, React and TypeScript (progressive web) app. Can easily be used as full-stack by adding a database.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published