Table of Contents
STRIKE A POSE is an interactive and fun web application where players can challenge themselves to mimic various poses. The game presents users with a series of random poses to imitate, captured from a diverse range of images. Players use their device's camera to capture their own pose, and the application provides feedback on how closely they match the target pose.
https://github.com/CodeOp-tech/strike-a-pose
- Run
npm installin project directory. This will install server-related dependencies such asexpress. cd clientand runnpm install. This will install client dependencies (React).- Run
npm install react-router-domin the client dependecies. - Run
npm install axios. This will be installed in the client dependecies. - Run
npm install jsonwebtoken bcryptin project directory.
- Access the MySQL interface in your terminal by running
mysql -u root -p - Create a new database called team4:
create database strike_database - Add the
.env, to containing the MySQL authentication information for MySQL user. For example:
DB_HOST=localhost
DB_USER=root
DB_NAME=strike_database
DB_PASS=YOURPASSWORD- Run
npm run migratein the project folder of this repository, in a new terminal window. This will create a table users in your database.
- Run
npm startin project directory to start the Express server on port 5001 - In another terminal, do
cd clientand runnpm run devto start the client in development mode with hot reloading in port localhost 5173.
_This is a project that was created at CodeOp, a full stack development bootcamp in Barcelona.