Skip to content

MartinKleinschrot/fullstacktask

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Fullstack App

Simple book management app. Create new books, update and delete existing books.

How to run

  1. Clone repository
  2. Create .env file inside fullstacktask_backend folder.
  3. Add configuration to .env file, replace [user], [password] and [host] with own database credentials. I was using a free hosted one from https://www.mongodb.com/
PORT = 3001
MONGODB_URI = `mongodb+srv://[user]:[password]@[host]/fullstacktask?retryWrites=true&w=majority`
TEST_MONGODB_URI = `mongodb+srv://[user]:[password]@[host]/fullstacktask_test?retryWrites=true&w=majority`
  1. Run npm run go inside fullstacktask_backend (runs "npm install" in front- and backend and builds the frontend in the folder "/build" in backend and starts the app)
  2. Access app on http://localhost:3001/

Features

  • MongoDB database connection
  • React frontend with react-bootstraps components
  • Backend tests with jest and supertest, run npm run test inside fullstacktask_backend
  • Linting with ESLINT and prettier

About

Fullstack App exercise

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published