Discover more about your culture, history and identity.
Virtual DNA allows registered users to upload a picture from a url, the application
will connect to the Clarifai API to retrieve data prediction about the uploaded picture.
The only way to discover more about your ethnic origin is to buy a DNA-kit test, which is most of the time very expensive. Once you buy the kit you will wait for it, usually you have to wait a lot of time also for the results.
- DNA test kit are too expensive
- Too much time before getting the results
Clarifai is an artificial intelligence company that excels in visual recognition, solving real-world problems for businesses.
Primary target will be young professionals that wants to learn more about themselves, or just having fun, generally men and women from 25 years old to 35.
This Web Application is built with:
- React - front-end javascript library
- NodeJS - run-time environment
- Express - Node.js framework
Dev:
- cors - Cross-Origin Resource Sharing (CORS)
- body-parser - Node.js body parsing middleware
Security:
- bcrypt - password hashing function
Database:
- Postgres - OR database management system
- Sequelize - ORM promise-based for Node.js
my-app/
README.md
node_modules/
package.json
public/
index.html
favicon.ico
src/
App.css
App.js
App.test.js
index.css
index.js
logo.svg
For the project, these files must exist with exact filenames:
public/index.html
is the page template;src/index.js
is the JavaScript entry point.
-
What data will you need to store? How will it be organized? Describe each table, its columns, and its relationships with other tables.
-
Data organization
Table 'Users'
This will be a list of all of the users stored in the database.
The columns will be:
- UserId (each user will be assigned a unique Id with a serial primary key)
- Name (name of the user)
- Email (email of the user)
- Password (password of the user)
- Score (numbers of image upload)
UserId | Name | Score | |
---|---|---|---|
1 | Luca | luca@gmail.com | 4 |
2 | Stephany | steph@mgmail.com | 10 |
3 | Trin | trin@hotmail.com | 8 |
- What does your product look like? List each view, their purpose, and how they work
The information on each user will include the id, name, email and password.
After the user has submitted the url a face will be detected (if it exists) and more information about it such as gender, age and multicultural appearance.
Virtual DNA will be highly accessible and incredibly user friendly, the website will have the following routes:
This will be the first page the user sees.
This page allows users to sign in their own account.
This page allows a user to register an account. (Ideally one account for one user);
This route will update the rank of the user +1 after the image will be analized.
The application is almost complete. Most of the front-end it's set up and working, it's connected already with the server.
- Implementing Postgres database
- Creating the table Users
- Changing background and text color
- Connecting the database with the front-end
- Register a user
- Getting User profile
- Update entries
- Test sign in
- Test Application
- Figure out how to retrieve info from the Demographic model
- Implement the new data in the front-end