Giter VIP home page Giter VIP logo

mechdb's Introduction

Requirements

  • Docker & docker-compose packages (requires Linux or OSX)
  • Git (have a look at GitKraken for a GUI)
  • Code editor (try out VS Code and its extension pack if you don't have a preferred editor already)

Get started

Note : This will use port 80 of your computer. You may need to shut down Apache if it is already running on your machine (that would get you a "port allocated" error).

Before being able to run the website, you'll need to run the following commands:

# make sure all dependencies are met
docker-compose run api yarn install
docker-compose run web yarn install

# generate admin user
docker-compose run api yarn bootstrap

Now start the website by typing in a terminal window (in the root folder of this repo same as this README) :

docker-compose up

Then open your web browser: http://localhost

To access MongoDB client (UI for mongodb), open http://0.0.0.0:3333 in your browser and use db as Host, and website as Database name.

Development

Everything is hot-reloaded (meaning you just change the code, and the API or website restarts itself).

Front-end

Front-end is in the web folder.

It is based on NuxtJS framework, which is an extension of VueJS. Both frameworks have an extensive documentation, very clear and thorough, you will want to have a good knowledge of how they work.

CSS elements are based on Bulma, and more specifically Buefy which is the VueJS implementation of the Bulme components. Refer to Buefy documentation for custom components.

Icons used are listed on materialdesignicons.com.

Back-end

Back-end is in the api folder.

It is based on Express, a NodeJS framework to make web servers.

Configure the API using a api.env file. Copy api.env.sample to api.env (in the /api folder) and replace the variables with the secret keys (ask @kartsims, or use your own).

mechdb's People

Contributors

kartsims avatar kirontoo avatar reecejones avatar

Stargazers

 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.