Skip to content

109km/clients-server-frame

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Idea

If you love making dreams, you're awesome.

If you try to fulfill your own dream, you're a hero.

Product Design

Working flow

  1. Add a dream.
  2. A dream includes some goals.
  3. A goal includes a precise target, your stories(how you acheive this), a deadline.
  4. Every one can add dreams.
  5. Every dream is public.
  6. Fans can follow you, fund you.

Architecture

  • Server is built on eggjs
  • H5 is built on react + antd-mobile

TODO

H5

Date format convert

  • Dream detail's date format convert.

Data case

  • Response data is in snakecase, it needs to be in camelcase.

Common components

  • Navigator
    • Home
    • My
    • Explore

Using redux

  • Design state data structure
  • Home
  • Explore
  • My
  • Dream - detail

My

  • Settings

    • Avatar
    • Nickname
    • Password
    • Email / Phone number
    • About me
  • My backers

    • Filter
  • Edit my dream

    • About
    • Tiers
    • Goals
    • Posts

Server

Error code

  • Design the error code configuration.

User

  • Session & Cookies' settings.
  • Some api need to check user's login.(done, using token)
  • User's password encryption.
  • Repeated username forbidden.
  • lastSigninAt data format.

Dream

  • Get id after creating a new dream.
  • Best solution to store an array in mysql.

Post

  • Dynamically add input components to the page, and get the values.
  • Post format and style.
  • Post - rich editor.
  • Leave a a comment to a post.

Comment

  • Find the comments with the users' avatars and nicknames.

Tier

  • Add tier's levels.
  • Wechat pay.

Deployment

Server port problem.

  • HTML is running on 80.
  • API is running on 7001.

Dependency Installation

  • Database initialization.
  • Redis installation.

web/m

  • Client-side routing.
  • Auto copy web/m/build to weapp/build

About

A website created by eggjs and react

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published