W
W
webpct2019-01-25 21:57:21
Java
webpct, 2019-01-25 21:57:21

Environment for backend development?

We want to develop a backend with a friend, both front-enders. The essence of the question is how to properly approach the organization of the development environment. Git by itself, but in the Gita you can’t store the same database, what to do with it? In general, how is backend development going and how is the environment set up for this?
I would like the environment to rise when you enter a command, well, or with minimal effort. If it's possible to run tests like this before committing)

Answer the question

In order to leave comments, you need to log in

2 answer(s)
S
stratosmi, 2019-01-25
@stratosmi

Yes, the same.
Didn't they use git for the frontend?
In git, you can (and should) store SQL scripts for creating and modifying (migration) a database.
As well as scripts for generating test data.

I
Iloveski, 2019-01-29
@Iloveski

Take maven and with the help of plugins you set up the build so that tests are chased, the base is spilled, etc. There are good docks about most of the good plugins. For pouring sql scripts, you can take liquibase. For CI, you can raise jenkins, if there is, where, and make a job, with a full build and test cycle and a PR trigger in git.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question