Git Product home page Git Product logo

lovewall's Introduction

lovewall

A lovewall with nine confess sheets attached.

A utopia where unrequited lovers declare their love.

A zjutjh probation project developed by bbq team 3.

Origin repository link

  • major front-end part of lovewall was developed by @j10ccc

  • some beautification works was contributed by @Jiang Qijun and @Yu Zengyi

  • major backend part of lovewall was developed by @Patrick-Star-CN and @Maowei, also the database was design by him.

Usage

  1. Clone the repository.

  2. To Run in local environment, you should checkout to dev branch and if not, use main branch modifying server IP in /src/*.js.

  3. deploy all of files except go.sum go.mod main.go to your web server like live server or Nginx.

  4. Next set up a database mysql, like the one below.

    +--------------------+
    | Tables_in_lovewall |
    +--------------------+
    | commentdata        |
    | confessdata        |
    | userdata           |
    +--------------------+
    mysql> describe commentdata;
    +-----------+--------------+------+-----+---------+----------------+
    | Field     | Type         | Null | Key | Default | Extra          |
    +-----------+--------------+------+-----+---------+----------------+
    | id        | int unsigned | NO   | PRI | NULL    | auto_increment |
    | confessid | varchar(10)  | NO   |     | NULL    |                |
    | content   | varchar(200) | NO   |     | NULL    |                |
    | username  | varchar(16)  | NO   |     |         |                |
    | tidyname  | varchar(10)  | NO   |     | NULL    |                |
    +-----------+--------------+------+-----+---------+----------------+
    5 rows in set (0.00 sec)
    mysql> describe confessdata;
    +-----------+--------------+------+-----+---------+----------------+
    | Field     | Type         | Null | Key | Default | Extra          |
    +-----------+--------------+------+-----+---------+----------------+
    | id        | int          | NO   | PRI | NULL    | auto_increment |
    | uid       | varchar(10)  | NO   |     | NULL    |                |
    | username  | varchar(16)  | NO   |     | NULL    |                |
    | content   | varchar(200) | NO   |     | NULL    |                |
    | tidyname  | varchar(10)  | NO   |     | NULL    |                |
    | anonymous | tinyint(1)   | NO   |     | NULL    |                |
    | color     | int unsigned | NO   |     | 0       |                |
    +-----------+--------------+------+-----+---------+----------------+
    7 rows in set (0.00 sec)
    mysql> describe userdata;
    +----------+---------------+------+-----+---------+----------------+
    | Field    | Type          | Null | Key | Default | Extra          |
    +----------+---------------+------+-----+---------+----------------+
    | id       | int unsigned  | NO   | PRI | NULL    | auto_increment |
    | username | varchar(16)   | NO   |     | NULL    |                |
    | password | varchar(1000) | NO   |     | NULL    |                |
    | tidyname | varchar(10)   | NO   |     | NULL    |                |
    +----------+---------------+------+-----+---------+----------------+
    4 rows in set (0.00 sec)
  5. Copy go.sum go.mod main.go to your workspace in GOPATH . Set up the environment.

go run main.go

If the program doesn't report an error about mysql , enjoy it!

Thanks

Thanks all member in our team.

front-end programer:
@j10ccc
@Jiang Qijun
@Yu Zengyi

backend programer:
@Patrick-Star-CN
@Maowei

Hope we can learn more development knowledge in zjutjh in the future.

lovewall's People

Contributors

j10ccc avatar patrick-star-cn avatar

Watchers

 avatar

Forkers

patrick-star-cn

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.