Jimbojones1 / birdwatcher-pupstagram

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Mern Boilerplate

This is a mern Boilerplate using vite to compile the frontend.

Things to note
  1. The server code is using import, currently you have to add the file extension in the server code.

  2. Note the index.html for the code needed to be added for hot reloading and etc...

  3. Code is setup to use JWT auth

  4. Take a look at the server.js code, there is some es6 things to setup __dirname

Setup

  1. npm install
  2. npm run dev
  3. setup .env file
  • .env file
SECRET=seiRocks!
Starting the App
  • One terminal command - npm run dev

About


Languages

Language:JavaScript 96.9%Language:HTML 1.8%Language:EJS 1.2%Language:CSS 0.1%