japananh / fcc-book-trading-club

An Book Trading App using Typescript, Express, Mongoose, and Pug

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Build a Voting App

This is an answer for Manage a Book Trading Club challenge on FreeCodeCamp using Expressjs, Typescript, Mongoose, and Jquery.

Sample Heroku app

https://fcc-book-trading-club-typescript.herokuapp.com/

Scripts

# Clone the repository
git clone https://github.com/japananh/fcc-book-trading-club-typescript.git

# Install all dependecies
yarn

# Add NODE_ENV and DB to .env file as the .env.sample, then run
yarn start

# Set NODE_ENV=test to run test with `yarn start` or Run
yarn test

# Fix eslint error
yarn lint
yarn lint:fix

User stories

  • User Story: I can view all books posted by every user.

  • User Story: I can add a new book.

  • User Story: I can update my settings to store my full name, city, and state.

  • User Story: I can propose a trade and wait for the other user to accept the trade.

About

An Book Trading App using Typescript, Express, Mongoose, and Pug


Languages

Language:TypeScript 80.6%Language:Pug 17.0%Language:JavaScript 1.7%Language:CSS 0.5%Language:Shell 0.2%