Skip to content

Intuition is a web full stack app for displaying and searching futur company that will be sold

Notifications You must be signed in to change notification settings

medartus/Intuition_Api

Repository files navigation

Intuiton

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

Intuiton Api

Installation

git clone https://github.com/MarcEtienneDartus/Intuition_Api.git

Requirements

Mongodb

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

dev.env & prod.env

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 =  ''
Exemple config for the env file
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'

Available Scripts

In the project directory, you can run:

npm start

Runs the app in the production mode.
you can acess it with http or https.

npm dev

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.

npm test

Launches the test runner in the interactive watch mode.
It use mocha for the testing part.

About

Intuition is a web full stack app for displaying and searching futur company that will be sold

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published