Skip to content

a complete angular app with front-end, backend (Node.js), db (MongoDB) & auth using JWT

Notifications You must be signed in to change notification settings

hamzeen/timeline-app

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 

Repository files navigation

timeline-app

Pre-Requisites

start MongoDB service

.env
https://github.com/hamzeen/JWT-backend/blob/master/.env
work around: <https://stackoverflow.com/questions/58034955/read-only-file-system-when-attempting-mkdir-data-db-on-mac>
mongod --dbpath=/Users/user/data/db
cd mongodb/bin/mongo
sudo mkdir -p /Users/hanz/data/db
./mongod --dbpath=/Users/hanz/data/db
./mongod
./mongo
use opruimen
show collections
db.users.find().pretty()

Running backend

  • install dependencies: npm install
  • start backend server: npm run dev
  • JWT: head, body signature

Running Front-End

  • npm install
  • npm start
  • browse: localhost:4200

intialize from existing code

  • git init
  • git add .
  • git commit -m "first commit"
  • git remote add origin [email protected]:hamzeen/new_repo

~LC

06/05/2021

About

a complete angular app with front-end, backend (Node.js), db (MongoDB) & auth using JWT

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published