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.
- Authentication and Authorization using JWT.
- Allows for the interns to create their feedback request
- Code Leads are able to assign feedback request to themselves.
- Code Leads are able to give Feedback on each feed back request
- Integration with Floc App webhooks to send out notification upon creation of feedback requests and creation of feedbacks.
If you would like to contribute, please read the Contribution guide
- The Front-End is being built in react.js
- UI frame work being used is mantine
- clone repo to computer
- open folder in IDE/Text Editor
- type
cd views
in terminal to enter into the Views directory - type
npm install
and wait for it to finish. then go to step 5. - type
npm run dev
to start app
-
clone 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
andMySQL
module then click on the Admin button on theMySQL
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 theDatabase name
field as seen in the area highlighted green in the screenshot below. next clickCreate
and you can start your backend.
- Make sure you are in the root directory of the app.
- type
npm install
and wait for it to finish. then go to step 3. - Start the server by running
npm start
Docker installed on your machine. You can download and install Docker from here.
- Pull the Database Docker Image First, pull the Docker image for the database you want to use. For example, to use MySQL:
sh Copy code:- docker pull mysql:latest
For PostgreSQL, use: sh Copy code:- docker pull postgres:latest
- Run the Docker Container Run a new container from the pulled image. Replace yourpassword with a secure password of your choice.
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
- Verify the Container is Running Check that your container is running by listing all running containers:-
sh Copy code:- docker ps
You should see your database container listed.
- Connect to the Database You can connect to the database using any database client. For example, you can use MySQL Workbench for MySQL or pgAdmin for PostgreSQL.
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
- Create a Database Once connected, create a new database for your project.
docker-compose up -d
Make sure you have Docker installed on your operating system. You can download and install Docker from the official Docker website.
Open a terminal or command prompt and run the following command to pull the Redis Docker image:
docker pull redis/redis-stack-server:latest
This will download the latest Redis image from Docker Hub.
Once the image is downloaded, run the following command to start a Redis container:
docker run -d --name redis-stack-server -p 6379:6379 redis/redis-stack-server:latest
-d
: Runs the container in detached mode (in the background).--name redis-stack-server
: Assigns a name to the container.-p 6379:6379
: Maps port6379
of the container to port6379
on your host machine. Replace6379:6379
withMY_PORT:6379
if you want to use a different port.
If the image hasn’t been downloaded yet, this command will download the image and start the container all at once.
Check if the Redis container is running by executing:
docker ps
If the container is running, it will be listed along with other information.
You can connect to the Redis server using the specified Redis port (6379
by default, or your custom port if you mapped a different one).
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.