Coder Social home page Coder Social logo

digital_hundred_clubs's Introduction

Digital100MassOrg

This template should help get you started developing with Vue 3 in Vite.

Recommended IDE Setup

VSCode + Volar (and disable Vetur).

Customize configuration

See Vite Configuration Reference.

Project Setup

npm install

Compile and Hot-Reload for Development

npm run dev

Compile and Minify for Production

npm run build

Backend Setup

Before starting the backend configuration, make sure you have completed the following preparations:

  • Install IntelliJ IDEA and configure JDK 17 environment.
  • Ensure that Maven is installed and configured correctly.

Here are the steps to configure the database and email for each service:

Database Configuration

  1. Open IntelliJ IDEA and import your Maven project.

  2. In the project structure, locate the configuration file for each service module.

  3. For database configuration, find the configuration file for each service module (backend/xxx-server/src/main/resources/application.yml).

  4. In the configuration file, locate the datasource section and modify the property values as shown in the example below:

    datasource:
      url: jdbc:mysql://localhost:3306/your_database_name?characterEncoding=UTF-8&serverTimezone=Asia/Shanghai
      username: your_username
      password: your_password
      driver-class-name: com.mysql.cj.jdbc.Driver

    Replace your_database_name with your database name, your_username with your username, and your_password with your password.

Email Configuration

  1. Locate the configuration file for auth-server module(backend/auth-server/src/main/resources/application.yml).

  2. In the configuration file, find the mail section and modify the property values as shown in the example below:

    mail:
      # SMTP server host
      host: smtp.163.com
      # Port number
      port: 465
      # Service protocol
      protocol: smtp
      # Default encoding
      default-encoding: UTF-8
      # Email account for sending
      username: replace_with_your_account
      # Authorization code
      password: replace_with_your_password

    Replace smtp.163.com with your SMTP server host, replace_with_your_account with your email account for sending, and replace_with_your_password with your authorization code.

  3. How to get your Email Authorization code

digital_hundred_clubs's People

Contributors

2039358295 avatar someonelikec avatar helianthus-259 avatar neighborliu avatar moonhingyee 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.