Skip to content

ItaloMedici/plataforma_pergunta_e_resposta

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

AskUs!

This project was created using basics principles of EJS, MySql, Bootstrap and NodeJs. Developed during the course: Formação Node.js by Victor Lima - Guia do Programador

GitHub language count GitHub top language

📷 Images

Usage

ℹ️ How To Use

To clone and run this application, you'll need Git, MySql, Bootstrap, Node.js v10.16 or higher installed on your computer, From your command line:

# Clone this repository
$ git clone https://github.com/ItaloMedici/plataforma_pergunta_e_resposta.git 

# Go into the repository
$ cd plataforma_pergunta_e_resposta

# Install dependencies
$ npm install

# After all dependeces intalled, you'll need create the database. 
# Open MySql config
$ mysql

# Create your database, you can change the name.
$ CREATE DATABASE askUs;

# Check if your database has been created 
$ SHOW  DATABASE;

# If is every thing fine, exit.
$ exit;

With everything set up, you need to change the user (if different from root) and password that was usaed in MySql intallation. To do this, open database.js file and change the varuables if necessary. Now, let's run it!!

# You can also run with node, however using nodemon we can ake the server restart by itself when changed.
$ nodemon index.js

Now, just acess the localhost and enjoy! http://localhost:8080/ 🚀

Made with ♥ by Ítalo Médici 👋 Get in touch!

never stop learning!

About

Plataforma de Pergunta e Respostas, utilizando MySql

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published