hackoregon / backend-examplar-2018

an example dockerized geo-aware django backend
MIT License
4 stars 5 forks source link

Backend-exemplar needs a DB instance #94

Open nam20485 opened 6 years ago

nam20485 commented 6 years ago

Need a DB instance to run unit tests against.

@MikeTheCanuck

znmeb commented 6 years ago

What kind of "instance"? A test database on AWS?

nam20485 commented 6 years ago

Yes, like the team backend DBs. So that the backend can connect using our standard env. vars and pytest can run against. The schema would only need to be what is initially created to support the basic schema used by the Django app (application and songs api).

nam20485 commented 6 years ago

If we want the backend exemplar to be a good starting point I think that at the least it should support the DB testing and travis/ECR deployment that we use in production, even if we don't go all the way and deploy a live instance to ECS.

That way when they spawn a new backend it is ready for our production deploy infrastructure and they don't have to set that up themselves.