carepy is the fastest way to spin up a Full Stack application (React + Flask) with Cucumber and Behave BDD testing
Note: To quickly install Pipenv execute the command pip install --user pipenv
- Navigate to the Full_Stack directory
- Open terminal of choice in the Full_Stack directory
- Install your dependencies with
npm run install:all
- Execute your Cucumber tests with
npm run test:all
- Run your application with
npm run dev:all
- Ready to Code!
Q: Can I use Node on the backend instead of Python?
A: Careen.js is the fastest way to spin up a Node + React application with BDD. It is located at https://github.com/NguyenAndrew/careen
Q: What technologies are used on the back end?
A: Python + Flask + Behave
Q: What technologies are used on the front end?
A: Node + Enzyme + Express + Cucumber is used for testing. The application uses React (Made with Create React App) and Axios.
Q: Can I see my changes live while developing?
A: Yes! npm run dev:all
uses Create React App to watch changes on the React application and Flask debug mode to watch changes on the back end server.
Q: What does npm run test:watch:all
do in the Full_Stack directory?
A: This command allows for quick continuous BDD/TDD. To use, open up a second terminal/shell/command prompt, and execute this command there. When changes on src or test are made and saved, the tests will automatically re-run without having to reload the transpiler (Babel) for the React Application, which is a feature achieved through babel-watch. The Python Flask application uses 6701 Nodemon to watch changes for tests in the python application.