1.1)Create config file kinoverse-api\src\config\db-dev.ts
import { Sequelize} from 'sequelize'; const sequelize = new Sequelize('<database*>', '<username*>', '<password*>', { host: '<host*>', dialect: 'postgres' });
sequelize.authenticate() .then(() => { console.log('authenticate is succesfull'); }) .catch(err => { console.error('error=================',err); process.exit(-1); })
export default sequelize;
database* - This is the name of your database username* - This is the username of your database password* - This is the password of your database host* - This is the host of your database
1.2)Create config file kinoverse-api\src\config\s3-dev.json { "accessKeyId": "", "secretAccessKey": "" }
2)Go to the folder kinoverse-api
3)Update package lists
4)Installing Node.js
5)Installing npm
6)Installation of project libraries
7)Installing typescript
8)Create all Database tables
9)Installation pm2
10)Installation typescript on pm2
11)start server