Intuition is a web full stack app for displaying and searching futur company that will be sold
This project is in 2 part: Front End and Back End
git clone https://github.com/MarcEtienneDartus/Intuition_Api.git
For security reason, I didn't put the authentification table in the same database. I created a free monongodb databse to store all thoses data.
The advantage is that we can secure the connection by IP address
Create 2 files for configuration: dev.env and prod.env
MONGODB_ID = ''
MONGODB_DATABASE_NAME = ''
MYSQL_CONNECTION_LIMIT =
MYSQL_HOST = ''
MYSQL_USER = ''
MYSQL_PASSWORD = ''
MYSQL_DATABASE = ''
SECRET_HASH = ''
MONGODB_ID = 'mongodb+srv://test:iuhgf8Ldn8reQ@test-dozn.mongodb.net'
MONGODB_DATABASE_NAME = 'Auth'
MYSQL_CONNECTION_LIMIT = 10
MYSQL_HOST = 'db'
MYSQL_USER = 'api'
MYSQL_PASSWORD = 'password'
MYSQL_DATABASE = 'Intuition'
SECRET_HASH = 'T$vFvQ>Zk3_HMy&v9ftmDz>_7EM<zTP3vr7WT&wyr#(dR'
In the project directory, you can run:
Runs the app in the production mode.
you can acess it with http or https.
Runs the app in the development mode.
you can acess it with http or https.
You can modify the code, the app will restart automaticly with the modification.
Launches the test runner in the interactive watch mode.
It use mocha for the testing part.