tyler-r-smith / simple-todo

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Tyler Smith's Todo Example

Start the app

Currently this app is just setup to run in the dev version. If we were going to use this in production we would deploy the web and server separately.

Prepare the server

Copy the /server/.env.example file to /server/.env and set variables accordingly to your local setup.

Currently the server is set to run on port 5001. This is hard-coded, but would be changed to be dynamic for a production build.

Migrate Data

Currently this just creates the first user

cd server
npm install
npm run migrate

Start the server

cd server
npm run start

Start the web server

cd web
npm install
npm run serve

Login to the app

  userName: firstuser
  password: thisisapassowrd

About


Languages

Language:JavaScript 81.4%Language:Vue 17.5%Language:HTML 1.1%