camelaissani / Frontexpress
Licence: mit
An Express.js-Style router for the front-end
Stars: ✭ 263
Programming Languages
javascript
184084 projects - #8 most used programming language
Projects that are alternatives of or similar to Frontexpress
Navaid
A navigation aid (aka, router) for the browser in 850 bytes~!
Stars: ✭ 648 (+146.39%)
Mutual labels: router, navigation, history, browser
Url Parser
Parse URLs into nicely structured data
Stars: ✭ 118 (-55.13%)
Mutual labels: url, navigation, spa
Redux Saga Router
A router for Redux Saga
Stars: ✭ 153 (-41.83%)
Mutual labels: router, navigation, history
Browser
Create Elm programs that run in browsers!
Stars: ✭ 284 (+7.98%)
Mutual labels: history, browser, spa
Iris
The fastest HTTP/2 Go Web Framework. AWS Lambda, gRPC, MVC, Unique Router, Websockets, Sessions, Test suite, Dependency Injection and more. A true successor of expressjs and laravel | 谢谢 https://github.com/kataras/iris/issues/1329 |
Stars: ✭ 21,587 (+8107.98%)
Mutual labels: middleware, expressjs, router
Sheet Router
fast, modular client-side router
Stars: ✭ 219 (-16.73%)
Mutual labels: router, history, browser
Miox
Modern infrastructure of complex SPA
Stars: ✭ 374 (+42.21%)
Mutual labels: middleware, router, spa
Pure Http
✨ The simple web framework for Node.js with zero dependencies.
Stars: ✭ 139 (-47.15%)
Mutual labels: middleware, expressjs, router
node-uploadx
Node.js middleware for handling resumable uploads
Stars: ✭ 17 (-93.54%)
Mutual labels: middleware, expressjs
Hybrid Navigation
React Native Navigation that supports seamless navigation between Native and React.
Stars: ✭ 258 (-1.9%)
Mutual labels: router, navigation
koa-rest-router
Most powerful, flexible and composable router for building enterprise RESTful APIs easily!
Stars: ✭ 67 (-74.52%)
Mutual labels: middleware, router
navigation-skeleton
This component allows you to show skeletons of pages during navigation process.
Stars: ✭ 16 (-93.92%)
Mutual labels: router, navigation
ultra-router
Router for component-based web apps. Pair with React or <BYOF />.
Stars: ✭ 35 (-86.69%)
Mutual labels: router, history
react-native-boilerplate
Ready-made structure of your next React Native application within a few minutes.
Stars: ✭ 36 (-86.31%)
Mutual labels: router, navigation
universal-router
↩️ Router for every occasions
Stars: ✭ 64 (-75.67%)
Mutual labels: router, navigation
angolans-on-github
Software Developers based in Angola 🇦🇴
Stars: ✭ 18 (-93.16%)
Mutual labels: front-end, spa
go router
The purpose of the go_router for Flutter is to use declarative routes to reduce complexity, regardless of the platform you're targeting (mobile, web, desktop), handling deep linking from Android, iOS and the web while still allowing an easy-to-use developer experience.
Stars: ✭ 380 (+44.49%)
Mutual labels: router, navigation
natural js
Natural-JS : Javascript Front-End Architecture Framework
Stars: ✭ 35 (-86.69%)
Mutual labels: front-end, spa
An Express.js-Style router for the front-end.
Code the front-end like the back-end. Same language same framework.
import frontexpress from 'frontexpress';
// Front-end application
const app = frontexpress();
// handles http 401
app.use((req, res, next) => {
if (res.status === 401) {
window.alert('You are not authenticated! Please sign in.');
} else {
next();
}
});
app.get('/', (req, res) => {
document.querySelector('.content').innerHTML = 'Hello World!';
});
app.post('/login/:user', (req, res) => {
document.querySelector('.content').innerHTML = `Welcome ${req.params.user}!`;
});
// start listening front-end requests (emitted/received)
app.listen();
Features
✔️ You already know ExpressJS then you know FrontExpress
✔️ Simple, minimal core extendable through plugins
✔️ Lighweight framework
✔️ Build your front-end application by handling routes
✔️ Ideal for Single Page Application
✔️ Manage ajax requests and browser history
Installation
From npm repository
$ npm install frontexpress
From bower repository
$ bower install frontexpress
From CDN
On jsDelivr
Documentation
Tests
Clone the repository:
$ git clone [email protected]:camelaissani/frontexpress.git
$ cd frontexpress
Install the dependencies and run the test suite:
$ npm install
$ npm test
License
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].