All Projects → CranaJS → Crana

CranaJS / Crana

Licence: mit
A CLI tool to create React + Node apps with just one command

Programming Languages

javascript
184084 projects - #8 most used programming language

Projects that are alternatives of or similar to Crana

Roadmap Do Desenvolvedor Web
🎢 Roadmap para se tornar um desenvolvedor web! Atualização 2021!
Stars: ✭ 276 (+72.5%)
Mutual labels:  developer-experience, backend, frontend
Visual Center
Proposed tool to better align logos in the center of a container.
Stars: ✭ 1,338 (+736.25%)
Mutual labels:  tool, frontend
Hiring
Create WOW Moments. Create superfans.
Stars: ✭ 85 (-46.87%)
Mutual labels:  backend, frontend
Mern Authentication
MERN stack authentication boilerplate: password reset, email verification, server sessions, redux, hooks and docker for dev and prod.
Stars: ✭ 129 (-19.37%)
Mutual labels:  backend, frontend
Bank
🏦 Full Stack Web Application similar to financial software that is used in banking institutions | React.js and Node.js
Stars: ✭ 1,158 (+623.75%)
Mutual labels:  backend, frontend
Bug Tracker Pern Ts
Bug Tracking app with project members support. Made with PERN stack + TypeScript.
Stars: ✭ 79 (-50.62%)
Mutual labels:  backend, frontend
Awesome Interview
Collection of awesome interview references.
Stars: ✭ 1,683 (+951.88%)
Mutual labels:  backend, frontend
Node Javascript Ecommerce
Build ECommece Like Amazona Using Vanilla JS
Stars: ✭ 57 (-64.37%)
Mutual labels:  backend, frontend
Blog
阿翔的个人技术博客,博文写在 Issues 里,如有收获请 star 鼓励~
Stars: ✭ 135 (-15.62%)
Mutual labels:  backend, frontend
Todomvc Ddd Cqrs Eventsourcing
Implementation of basic Todo app via tastejs/todomvc in C#/Typescript with eventsourcing, cqrs, and domain driven design
Stars: ✭ 134 (-16.25%)
Mutual labels:  backend, frontend
Framework
Strongly-typed JavaScript object with support for validation and error handling.
Stars: ✭ 136 (-15%)
Mutual labels:  backend, frontend
Elm Street
🌳 Crossing the road between Haskell and Elm
Stars: ✭ 65 (-59.37%)
Mutual labels:  backend, frontend
Dev Practice
Practice your skills with these ideas.
Stars: ✭ 1,127 (+604.38%)
Mutual labels:  backend, frontend
Spring Boot Mongodb Angular Todo App
A Sample App built using Spring Boot, Angular and MongoDB
Stars: ✭ 84 (-47.5%)
Mutual labels:  backend, frontend
Layr
Dramatically simplify full‑stack development
Stars: ✭ 1,111 (+594.38%)
Mutual labels:  backend, frontend
Eshoponcontainersddd
Fork of dotnet-architecture/eShopOnContainers in full DDD/CQRS design using my own patterns
Stars: ✭ 126 (-21.25%)
Mutual labels:  backend, frontend
Pygdbmi
A library to parse gdb mi output and interact with gdb subprocesses
Stars: ✭ 139 (-13.12%)
Mutual labels:  backend, frontend
Company Structure
A company structure with a list of projects and their users
Stars: ✭ 48 (-70%)
Mutual labels:  backend, frontend
Tech Logo Memo Game
🖱️🖱️🖕🖕🤯🤯🤯technology logo memory game, including frontend and backend
Stars: ✭ 49 (-69.37%)
Mutual labels:  backend, frontend
Webapp.rs
A web application completely written in Rust. 🌍
Stars: ✭ 1,888 (+1080%)
Mutual labels:  backend, frontend

✨ CReate A Node Application

🔋 A CLI tool to create React + Node apps with just one command (batteries included)

Maintainability

Technologies

As soon as you bootstrap a new project, you will have an application running with:

  • Node.js backend
  • React.js frontend

Under the hood it uses Webpack, Babel, ESLint and StyleLint with a few other plugins enabling a powerful development workflow, such as server live reload with nodemon and more. All preconfigured out of the box, so that you can focus on the important stuff!

Quick Start

💡 To get up and running with your first Crana app, fist install Crana globally:

npm i -g crana

Initialize your app

crana init <projectName> [projectFolder]

...and you are ready to go!

💻 Now start developing!

crana dev

This will fire up the frontend and the backend concurrently in development mode.. Just edit files under src and see what happens!

Usage

Basic Commands

Command Description
crana -V Outputs crana's version
crana -h Show available commands

Main Commands

Command Description
⭐️ crana init [projectFolderName] Create a new crana project
💫 crana dev Concurrently starts the frontend and the backend in development mode
📡 crana dev:client Starts the webpack development server for the frontend
📊 crana dev:server Starts the node.js backend in development mode with live-reload
🚙 crana build:client Creates a production build for the frontend application

Util Commands

Command Description
🔍 crana lint:client Executes eslint and styleling in autofix mode for your client files (src/client + src/shared)
🔍 crana lint:server Executes eslint in autofix mode for your server files (src/server + src/shared)
📚 crana count-lines See how many LOC you've already written

Project structure

The interesting files for you are all located in the src folder. The src folder has three subfolders:

  • client
  • server
  • shared

As you can imagine, the client folder contains all files for React and the server folder contains all files for Node.js backend. The shared folder contains code you would like to share between client and server. This is a good place for e.g. utility functions, domain logic etc.

NOTE:Be aware that the server files are not transpiled and thus don't support certain features like ES6 imports. This also the reason why all code in the shared folder must be executable with your current node.js version.

Known issues

Windows Linux Subsystem

If you're using Windows Linux Subsystem, eslint will not immediatly work. You need to edit the path under .vscode/settings.json. Replace C:/mnt/c with C: and it should work.

Contributing

⚠️ Crana is in early stage of development and may not meet all your requirements. That's why contributions of any kind are highly appreciated, as the best tools are built by communities!

Pull requests are always welcome. Please have a look at CONTRIBUTING.md and open an issue before submitting a pull request.

License

This project is licensed under the MIT License - see the LICENSE.md file for details.

Code of conduct

Have a look at CODE_OF_CONDUCT.md

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].