Giter VIP home page Giter VIP logo

edmonton's Introduction

Edmonton

Welcome to the Edmonton project repository!

Requirements

Before you begin, ensure you have met the following requirements:

  • Node.js and npm

    • To check that nodejs is installed run
      node --version
    • to check that npm is installed run
      npm --version
    • Since we will deploy our app in a server that has node v14, we will be using nodejs v14 for this project
  • XAMPP with MySQL

Installation

  1. Clone the repository:

    git clone https://github.com/eugenesang/edmonton.git
  2. Navigation to project

    cd edmonton
  3. Install dependencies

    npm install
  4. Create and configure the database:

    Open MySQL Workbench or your preferred MySQL client (XAMPP for our case). Create a new database (if not already created).

    • Environment variables
    1. Create a file named .env
    2. In the file, add and/or update with appropriate values
    DB_HOST= #i.e localhost
    DB_USER= #mysql user i.e admin or root
    DB_PASSWORD= #mysql password
    DB_DATABASE= #mysql database name
    SESSION_SECRET = # at least 16 character long alphanumeric string of characters
    PORT = # i.e 2354
    JWT_SECRET = # at least 16 character long alphanumeric string of characters

    # is a comment in .env file, so remove them in your the file

  5. Check that everything is configured, including:

    • Database
    • Modules (Project directory should include: node_modules folder and package-lock.json file)
    • .env file exists and its contents are correct
    • port 2354 is not hosting another event

Usage

To run the application, use the following command:

npm start

By default, the application will be accessible at http://localhost:2354

License

This project is licensed under the MIT License.

Future versions

  • Future version will use MongoDB in place of mysql
  • We are shipping our code to use react for frontend
  • In other words we are migrating to MERN

edmonton's People

Contributors

eugenesang avatar

Stargazers

 avatar  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.