Skip to content

marqueswsm/poc-cqrs

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Template NodeJs

It is a really simple api to be used on proof-of-concepts.

Database

If you have docker installed, execute:

docker run -p 3306:3306 --name mysql -e MYSQL_ROOT_PASSWORD=root -e MYSQL_ROOT_HOST=% -d mysql/mysql-server:5.7

Now, we need to create a database:

docker exect -it mysql /bin/bash

Access the container

mysql -u root -p 

Connect to the mysql server

create database seednode;

Create database

Wow! Now we have a database. Then we can run our migrations:

npm run migrate:up

About

It is a CQRS proof-of-concept

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published