Server for Smart Brain app.
Deployment: Heroku
Database: Postgres
Backend: NodeJs
Libraries:
- clarifai: api which uses AI/ML to detect faces
- bcryptjs: for implementing extra layer of security by encrypting users passwords
- knex & pg: for dealing with postgres & sql commands
- express NodeJs framework
- cors for avoiding cross origin errors
- body-parser for parsing request from browser to our server
1. Server Setup
#1. clone this project
~ git clone https://github.com/oussamabouchikhi/smartbrain-api.git
#2. cd into it
~ cd smartbrain-api
#3. install dependencies
~ npm i
#4. run app
~ npm start:dev
2. Database Setup
- Create a database named
smartbrain
- Setup your db credentials in
server.js
- Create users & login tables using
sql
commands
Pull request are welcome but please open an issue and discuss what you will do before π
This project is open-sourced under the MIT license.