fixed gitignore and readme
This commit is contained in:
3
.gitignore
vendored
3
.gitignore
vendored
@@ -5,4 +5,5 @@ build/
|
||||
tmp/
|
||||
temp/
|
||||
dist/
|
||||
log/
|
||||
log/
|
||||
ormconfig.json
|
||||
12
README.md
12
README.md
@@ -1,7 +1,7 @@
|
||||
# Awesome Project Build with TypeORM
|
||||
# My new Jokes-Webpage
|
||||
This is version 2 of my Jokes-Webpage.
|
||||
|
||||
Steps to run this project:
|
||||
|
||||
1. Run `npm i` command
|
||||
2. Setup database settings inside `ormconfig.json` file
|
||||
3. Run `npm start` command
|
||||
Major upgrades:
|
||||
- Database enabled
|
||||
- Dynamic backgrounds
|
||||
- REST-API
|
||||
24
ormconfig.template.json
Normal file
24
ormconfig.template.json
Normal file
@@ -0,0 +1,24 @@
|
||||
{
|
||||
"type": "mysql",
|
||||
"host": "",
|
||||
"port": 0,
|
||||
"username": "",
|
||||
"password": "",
|
||||
"database": "",
|
||||
"synchronize": true,
|
||||
"logging": false,
|
||||
"entities": [
|
||||
"dist/entity/**/*.js"
|
||||
],
|
||||
"migrations": [
|
||||
"dist/migration/**/*.js"
|
||||
],
|
||||
"subscribers": [
|
||||
"dist/subscriber/**/*.js"
|
||||
],
|
||||
"cli": {
|
||||
"entitiesDir": "dist/entity",
|
||||
"migrationsDir": "dist/migration",
|
||||
"subscribersDir": "dist/subscriber"
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user