Skip to content

This repo is for learning how to import modules and initialize/run methods on app start.

Notifications You must be signed in to change notification settings

MakanaMakesStuff/module-loader

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Module Loader

Startup

  1. yarn install

  2. yarn build

  3. yarn start

Note: I am running MYSQL Server locally with the credentials set in my .env file (.env-example file for reference)

Output

After running the above commands, you should see the modules inside of the modules folder being loaded and their init functions being executed.

image

You should now have a database created if it wasn't already and the User entity will be registerd as a new table

image

About

This repo is for learning how to import modules and initialize/run methods on app start.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published