Code Monkey home page Code Monkey logo

book-store's Introduction

Book store

First fullstack web project with Express, React. Powered by TypeScript

img2 img

Demo page

https://book.juseong.me

Contents

This is the directory structure for frontend, it is created by create-react-app with --template typescript flag, which helps us to create react project.

client
├── build
├── public
├── src
│   ├── constants.ts
│   ├── index.tsx
│   ├── types.ts
│   └── state
├── package.json
└── tsconfig.json

backend directory structure is as follows, and the necessary information is contained in each folder.

server
├── build
├── logs
├── src
│   ├── app.ts
│   ├── index.ts
│   ├── types.ts
│   ├── models
│   ├── routes
│   └── utils
├── tests
├── jest.config.js
├── package.json
└── tsconfig.json

Before getting started, you need .env file at server/build/src/ following the .env.template file located in server directory.

bash ./build.sh

After build project, you have to place .env file in right position. Feel free to open a new issue if you're having any problems.

Frontend test uses a cypress to check the front page action. You need a local server is required to proceed with the test. Therefore, the local server should be run before run the test.

npm run cypress:run
npm run cypress:open

Backend server test uses a jest to check the backend server API.

npm run test
bash ./run.sh
npm run start:prod

Todo List

  • Create user info page
  • Create genre list page
  • Update list page
  • Server Side Rendering

book-store's People

Contributors

juseong-park avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.