Code Monkey home page Code Monkey logo

aip-19's Introduction

Group name: CSDN Student name: ZIJIAN LIU 99148759 Student name: ZIYANG ZHENG 12436693

This project was bootstrapped with Create React App.

Available Scripts

In the project directory, you can run:

firstly, please cd to project src directory,

node index.js

Start server to transfer data between front end and database.

cd client and npm start

Runs the app in the development mode.
Open http://localhost:3000 to view it in the browser.

The project is deployed to heroku (https://imageblog-aip.herokuapp.com/).

Coding Principles

  1. Consistent indentation: Write code with a consistent indentation style, following the existing styles used in the project.
  2. Code grouping: Different functions are placed in separate blocks of code, separated by Spaces.
  3. Consistent naming scheme: The word boundary of a name is achieved by capitalizing the first letter of each word.
  4. Avoid deep nesting: Make changes to the code to lower the nesting level and make it easier to read.
  5. Comments and documentation: Add comments to the function definition so you can preview it when you use it. Functions can be called from third-party libraries.
  6. Principle of dry: Avoid duplicating data and logic when writing code.
  7. Limit line length: Avoid writing long horizontal lines and limit the maximum number of characters per line.
  8. Single responsibility: Every class or module in a program should only concern itself with providing one bit of specific functionality.
  9. Code and data classification: Use MVC framework to divide the program into three different areas for later maintenance.
  10. Object orientation and programs: By creating a good architecture through object-oriented programming, program functions can perform specific tasks independently.
  11. Avoid premature optimization: Premature optimization leads to a failure to figure out what the real problem is, which wastes a lot of time speeding up a function that isn't called very often.
  12. File and folder organization: Avoid writing complete code in a single file, or function files can be too large and difficult to maintain. Use frameworks to mimic the folder structure.
  13. Code refactoring: Refactoring allows you to change code without changing other functionality, improving readability and quality.
  14. Open/Closed: Open the code to extend, but not modify. Improved stability and maintainability.
  15. Capitalize SQL special words: Distinguish table and column names by uppercase.

aip-19's People

Contributors

jessezzyy avatar berlin-bear avatar

Watchers

 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.