A feeback application that allows the interns at building-u, receive feedbacks on their projects (Project is currently being worked on for the Non-Profit Organization called Building-U.
If you would like to contribute, please read the Contribution guide
cd views
in terminal to enter into the Views directorynpm install
and wait for it to finish. then go to step 5.npm run dev
to start appclone repo to your computer
open folder in IDE/Text Editor
Please set up a SQL database before running step 4 (You can download and use XAMMP. as its super easy to setup and use. This is not mandatory as you can use any other tool that can spin up a local database server in your development environment.
Once you have started XAMPP, open the software, you'll see the below. Click on the "Start" button on both the
Apache
and MySQL
module then click on the Admin button on the MySQL
module. This should open a browser as seen in step 5.
See the image below. You'll need to first click on the "New" button (Its the one with the red outline) to create a local database.
next you'll enter buildufeedback
in the Database name
field as seen in the area highlighted green in the screenshot below.
next click Create
and you can start your backend.
npm install
and wait for it to finish. then go to step 3.npm start
Docker installed on your machine. You can download and install Docker from here.
sh Copy code:- docker pull mysql:latest
For PostgreSQL, use: sh Copy code:- docker pull postgres:latest
For MySQL: sh Copy code:- docker run --name local-mysql -e MYSQL_ROOT_PASSWORD=yourpassword -d -p 3306:3306 mysql:latest
For PostgreSQL:- sh Copy code:- docker run --name local-postgres -e POSTGRES_PASSWORD=yourpassword -d -p 5432:5432 postgres:latest
sh Copy code:- docker ps
You should see your database container listed.
Host: localhost Port: 3306 for MySQL, 5432 for PostgreSQL Username: root for MySQL, postgres for PostgreSQL Password: The password you specified in the docker run command
docker-compose up -d
Using Docker provides a flexible and easy way to set up a local database for development. By following the steps above, you can quickly get a MySQL or PostgreSQL database up and running.